f5tts/script/f5tts.service

14 lines
320 B
SYSTEMD
Raw Permalink Normal View History

2024-12-19 16:50:53 +08:00
[Unit]
Description=f5tts service
Documention=f5tts service to control f5tts service start or stoop
Wants=systemd-networkd.service
Requires=nginx.service
[Service]
Type=forking
ExecStart=su - ymq -c "/d/ymq/py/f5tts/run.sh f5tts.py"
ExecStop=su - ymq "/d/ymq/bin/killname f5tts.py"
[Install]
WantedBy=multi-user.target