Update Deluge_install.sh

This commit is contained in:
jerry048 2022-05-12 17:43:04 +08:00 committed by GitHub
parent b0be3bb271
commit e82c3083f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ Type=simple
UMask=002 UMask=002
User=$username User=$username
LimitNOFILE=infinity LimitNOFILE=infinity
ExecStart=/usr/local/bin/deluged -d ExecStart=/usr/bin/deluged -d
ExecStop=/usr/bin/killall -w -s 9 /usr/bin/deluged ExecStop=/usr/bin/killall -w -s 9 /usr/bin/deluged
Restart=on-failure Restart=on-failure
TimeoutStopSec=20 TimeoutStopSec=20
@ -108,7 +108,7 @@ Wants=deluged.service
[Service] [Service]
Type=simple Type=simple
User=$username User=$username
ExecStart=/usr/local/bin/deluge-web ExecStart=/usr/bin/deluge-web
ExecStop=/usr/bin/killall -w -s 9 /usr/bin/deluge-web ExecStop=/usr/bin/killall -w -s 9 /usr/bin/deluge-web
TimeoutStopSec=5 TimeoutStopSec=5
Restart=on-failure Restart=on-failure