1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00

Update systemd.service

This commit is contained in:
Éric Gaspar 2023-05-23 19:26:44 +02:00
parent 01abffb649
commit 08fc68bdf8

View file

@ -8,7 +8,6 @@ User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/smp-server start
ExecStopPost=/usr/bin/env sh -c '[ -e "/var/opt/simplex/file-server-store.log" ] && cp "/var/opt/simplex/file-server-store.log" "/var/opt/simplex/file-server-store.log.$(date +'%FT%T')"'
Restart=always
RestartSec=3
KillSignal=SIGINT