Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549398 - Add s6-svc to s6_stop function
Summary: Add s6-svc to s6_stop function
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-13 18:10 UTC by Brian Evans (RETIRED)
Modified: 2015-05-15 14:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Evans (RETIRED) gentoo-dev 2015-05-13 18:10:52 UTC
I think it would be wise to add s6-svc to the s6.sh in s6_stop.

If you wish to discuss this, feel free to contact me.


--- s6.sh       2015-05-13 13:48:11.765746700 -0400
+++ /lib64/rc/sh/s6.sh  2015-05-13 13:50:04.282746700 -0400
@@ -30,6 +30,7 @@
  fi
        local rc
        ebegin "Stopping ${name:-$RC_SVCNAME}"
+       s6-svc ${s6_svc_options_stop:--Dd} "${s6_service_path}"
        rm -rf "${RC_SVCDIR}/s6-scan/${s6_service_path##*/}"
        s6-svscanctl -an "${RC_SVCDIR}"/s6-scan
        rc=$?