f5tts/script/f5tts.service

12 lines
259 B
SYSTEMD
Raw Normal View History

2024-12-19 16:50:53 +08:00
[Unit]
Description=f5tts service
Wants=systemd-networkd.service
Requires=nginx.service
[Service]
Type=forking
2024-12-25 16:04:39 +08:00
ExecStart=su - f5tts -c "/data/f5tts/script/f5tts.sh"
ExecStop=su - f5tts "/d/f5tts/bin/killname app/f5tts.py"
2024-12-19 16:50:53 +08:00
[Install]
WantedBy=multi-user.target