2021-10-11 15:06:55 +00:00
|
|
|
[Unit]
|
|
|
|
Description=cccc server
|
2021-10-14 07:55:01 +00:00
|
|
|
After=network-online.target
|
2021-10-11 15:06:55 +00:00
|
|
|
|
|
|
|
[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
|