mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
fix
This commit is contained in:
parent
5b8bf094ed
commit
53d6e94b51
1 changed files with 5 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=SimpleX: Messaging Protocol Server
|
||||
Description=XFTP server systemd service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
@ -7,10 +7,11 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__INSTALL_DIR__/
|
||||
ExecStart=__INSTALL_DIR__/xftp-server start
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
ExecStart=__INSTALL_DIR__/xftp-server start +RTS -N -RTS
|
||||
#ExecStopPost=/usr/bin/env sh -c '[ -e "/var/opt/simplex-xftp/file-server-store.log" ] && cp "/var/opt/simplex-xftp/file-server-store.log" "/var/opt/simplex-xftp/file-server-store.log.$(date +'%FT%T')"'
|
||||
LimitNOFILE=65535
|
||||
KillSignal=SIGINT
|
||||
TimeoutStopSec=infinity
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
|
|
Loading…
Add table
Reference in a new issue