summaryrefslogtreecommitdiffstats
path: root/libexec/container/stop
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/container/stop')
-rwxr-xr-xlibexec/container/stop3
1 files changed, 3 insertions, 0 deletions
diff --git a/libexec/container/stop b/libexec/container/stop
index 2d81523..793b323 100755
--- a/libexec/container/stop
+++ b/libexec/container/stop
@@ -326,6 +326,9 @@ case "${KILL}" in
;;
esac
+mkdir -p "/var/lib/${SOFTWARE}/state"
+echo "stop" > "/var/lib/${SOFTWARE}/state/${NAME}.run"
+
case "${VERBOSE}" in
true)
echo " done."