1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flood_ynh.git synced 2024-09-03 18:36:20 +02:00
flood_ynh/conf/rtorrent.service
Éric Gaspar 2200f75cb0 v2
2023-10-31 21:25:40 +01:00

17 lines
374 B
Desktop File

[Unit]
Description=rTorrent
After=network.target
[Service]
Type=forking
KillMode=none
User=__APP__
Group=__APP__
WorkingDirectory=__INSTALL_DIR__/
ExecStart=/usr/bin/screen -d -m -fa -S rtorrent /usr/bin/rtorrent -o import=__INSTALL_DIR__/rtorrent.rc
ExecStop=/usr/bin/killall -w -s 2 /usr/bin/rtorrent
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target