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