iptv/script/iptv.service
2025-07-16 15:07:06 +08:00

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