15 lines
222 B
Desktop File
15 lines
222 B
Desktop File
[Unit]
|
|
Description=mytcp service
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/root/work/mytcp
|
|
ExecStart=/usr/bin/python3 server.py
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|