cccc/etc/systemd/system/cccc.service

16 lines
248 B
SYSTEMD
Raw Normal View History

[Unit]
Description=cccc server
2021-10-14 07:55:01 +00:00
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