16 lines
248 B
Desktop File
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
|