app-admin/diamond: increase stop timeout, shutdown is a slow process
authorFabian Groffen <grobian@gentoo.org>
Tue, 25 Jul 2017 07:27:40 +0000 (09:27 +0200)
committerFabian Groffen <grobian@gentoo.org>
Tue, 25 Jul 2017 07:27:52 +0000 (09:27 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.1

app-admin/diamond/files/diamond.initd

index 6473dac288cbd4084f8e35758a05dda2d74f980b..168b175a788cf84a870c77d5b925b29b0c557c21 100644 (file)
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 depend() {
@@ -14,6 +14,6 @@ start() {
 
 stop() {
        ebegin "Stopping ${SVCNAME}"
-       start-stop-daemon --stop --pidfile /run/${SVCNAME}.pid --name diamond
+       start-stop-daemon --stop -R 80 --pidfile /run/${SVCNAME}.pid
        eend $?
 }