transmission: increase the number of retries for respawn
authorNikos Mavrogiannopoulos <redacted>
Wed, 17 Jun 2015 20:02:46 +0000 (22:02 +0200)
committerNikos Mavrogiannopoulos <redacted>
Wed, 17 Jun 2015 20:03:40 +0000 (22:03 +0200)
The default 5 per hour is too small for transmission which may
crash quite some times.

Signed-off-by: Nikos Mavrogiannopoulos <redacted>
net/transmission/files/transmission.init

index 463e8ddb910f2f6d1608c8e8d5cafefa70efeaaa..535ace8bb1362ac5649229030b4f21401ac75a76 100644 (file)
@@ -99,7 +99,7 @@ transmission() {
 
        procd_open_instance
        procd_set_param command /usr/bin/transmission-daemon -g $config_dir -f
-       procd_set_param respawn
+       procd_set_param respawn retry=60
        procd_set_param user "$user"
        if test -z "$USE";then
                procd_set_param limits core="0 0"
git clone https://git.99rst.org/PROJECT