mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
14 lines
282 B
SYSTEMD
14 lines
282 B
SYSTEMD
|
[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
|