14 lines
320 B
SYSTEMD
14 lines
320 B
SYSTEMD
|
[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
|
||
|
|