1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00
simplex_ynh/conf/xftp.systemd.service
2023-05-30 09:19:53 +02:00

18 lines
405 B
Desktop File

[Unit]
Description=XFTP server systemd service
Documentation=https://simplex.chat/docs/xftp-server.html
After=network.target
[Service]
Type=simple
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=__INSTALL_DIR__/xftp-server start +RTS -N -RTS
LimitNOFILE=65535
KillSignal=SIGINT
TimeoutStopSec=infinity
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target