mirror of
https://github.com/YunoHost-Apps/flood_ynh.git
synced 2024-09-03 18:36:20 +02:00
new service file
This commit is contained in:
parent
47094dbc59
commit
1a160de4c7
1 changed files with 4 additions and 7 deletions
|
@ -1,14 +1,11 @@
|
|||
[Unit]
|
||||
Description=rTorrent
|
||||
Description=Flood Web UI
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=~
|
||||
ExecStart=/usr/bin/flood
|
||||
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
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue