summaryrefslogtreecommitdiff
path: root/system/s6/s6.post-upgrade
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2019-03-06 23:19:35 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2019-03-06 23:19:35 +0000
commite6121ae5fb6393c7835ccc907c1c766afa0b291e (patch)
treea2bdefe7bf8c4c3f4c1b8ccf1b3b30b2452dbac8 /system/s6/s6.post-upgrade
parenta24732d44f070922972eba6e19ddbdd7725700d4 (diff)
downloadpackages-e6121ae5fb6393c7835ccc907c1c766afa0b291e.tar.gz
packages-e6121ae5fb6393c7835ccc907c1c766afa0b291e.tar.bz2
packages-e6121ae5fb6393c7835ccc907c1c766afa0b291e.tar.xz
packages-e6121ae5fb6393c7835ccc907c1c766afa0b291e.zip
system/s6: upgrade to 2.8.0.0
Diffstat (limited to 'system/s6/s6.post-upgrade')
-rw-r--r--system/s6/s6.post-upgrade15
1 files changed, 15 insertions, 0 deletions
diff --git a/system/s6/s6.post-upgrade b/system/s6/s6.post-upgrade
index 54144895b..0b69f49e7 100644
--- a/system/s6/s6.post-upgrade
+++ b/system/s6/s6.post-upgrade
@@ -1,3 +1,18 @@
#!/bin/sh -e
rm -f /etc/runlevels/default/s6
+
+cat <<EOF
+
+*
+* The s6 package has been upgraded. To complete the upgrade, you need to
+* restart the supervision tree - with the following command, run as root:
+*
+* s6-svscanctl -t /run/service
+*
+* Running this command will instantly log everyone out of all the
+* terminals that are listed in the GETTYS variable in /etc/conf.d/gettys
+* - so please save your work first.
+*
+
+EOF