diff options
author | Zac Medico <zmedico@gentoo.org> | 2017-09-01 14:28:55 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2017-09-01 14:42:01 -0700 |
commit | 04685db032d949f93e0138d513da793e27d078e1 (patch) | |
tree | 4646c284d4271527cc9f037f7fc23240253a09f4 /app-admin/serf | |
parent | dev-libs/qtkeychain: 0.8.0 version bump (diff) | |
download | gentoo-04685db032d949f93e0138d513da793e27d078e1.tar.gz gentoo-04685db032d949f93e0138d513da793e27d078e1.tar.bz2 gentoo-04685db032d949f93e0138d513da793e27d078e1.zip |
app-admin/serf: revbump to 0.8.1-r1 for bug 628654
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'app-admin/serf')
-rw-r--r-- | app-admin/serf/files/serf.initd | 15 | ||||
-rw-r--r-- | app-admin/serf/serf-0.8.1-r1.ebuild (renamed from app-admin/serf/serf-0.8.1.ebuild) | 0 |
2 files changed, 2 insertions, 13 deletions
diff --git a/app-admin/serf/files/serf.initd b/app-admin/serf/files/serf.initd index 3959f3120153..042e4f8018a8 100644 --- a/app-admin/serf/files/serf.initd +++ b/app-admin/serf/files/serf.initd @@ -5,7 +5,7 @@ description="serf agent" extra_started_commands="reload" group=${group:-${RC_SVCNAME}} -pidfile=${pidfile:-"/run/${RC_SVCNAME}/${RC_SVCNAME}.pid"} +pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"} user=${user:-${RC_SVCNAME}} command="/usr/bin/${RC_SVCNAME}" @@ -14,10 +14,10 @@ command_background="true" start_stop_daemon_args="--user ${user} --group ${group} \ --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \ --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" +stopsig="SIGINT" depend() { need net - after net } reload() { @@ -25,14 +25,3 @@ reload() { ${command} reload eend $? } - -start_pre() { - checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}" -} - -stop() { - # SIGINT is required for graceful shutdown of serf agent - ebegin "Stopping ${RC_SVCNAME}" - start-stop-daemon --stop --signal SIGINT --pidfile "${pidfile}" - eend $? -} diff --git a/app-admin/serf/serf-0.8.1.ebuild b/app-admin/serf/serf-0.8.1-r1.ebuild index 963e9bcc99ef..963e9bcc99ef 100644 --- a/app-admin/serf/serf-0.8.1.ebuild +++ b/app-admin/serf/serf-0.8.1-r1.ebuild |