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
2022-03-19 23:23:41 +01:00

17 lines
370 B
Desktop File

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