15 lines
321 B
Desktop File
15 lines
321 B
Desktop File
[Unit]
|
|
Description=sage service
|
|
Documention=sage service to control sage service start or stoop
|
|
After=mariadb.service
|
|
Wants=systemd-networkd.service
|
|
Requires=nginx.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=su - ymq -c "py/iptv/script/run.sh"
|
|
ExecStop=su - ymq "bin/killname iptv.py"
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|