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/sources/rtorrent.service

14 lines
282 B
SYSTEMD
Raw Normal View History

2017-07-17 12:03:11 +02:00
[Unit]
Description=rTorrent
After=network.target
[Service]
User=flood
Type=forking
KillMode=none
ExecStart=/usr/bin/screen -d -m -fa -S rtorrent /usr/local/bin/rtorrent
ExecStop=/usr/bin/killall -w -s 2 /usr/local/bin/rtorrent
WorkingDirectory=%h
[Install]
WantedBy=default.target