cccc/etc/systemd/system/cccc.service
2021-10-14 08:55:01 +01:00

16 lines
248 B
Desktop File

[Unit]
Description=cccc server
After=network-online.target
[Service]
Type=simple
Restart=always
User=cccc
Group=cccc
WorkingDirectory=/opt/cccc
ExecStart=/opt/cccc/server.py
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target