summaryrefslogtreecommitdiffstats
path: root/system/s6/README
diff options
context:
space:
mode:
author Muhammad Mahendra Subrata2020-01-12 15:38:17 +0100
committer Willy Sudiarto Raharjo2020-01-12 15:43:36 +0100
commit80e0de16771ef475d8a538e7dcc9dbbb1a01d1d4 (patch)
tree493b5a32f6c723f6283d9238fd78dad824e9a806 /system/s6/README
parent6b5f8d533295693f34718f873eae24fca5387331 (diff)
downloadslackbuilds-80e0de16771ef475d8a538e7dcc9dbbb1a01d1d4.tar.gz
system/s6: Updated for version 2.9.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/s6/README')
-rw-r--r--system/s6/README52
1 files changed, 36 insertions, 16 deletions
diff --git a/system/s6/README b/system/s6/README
index fc847045e9..2c7ec758e3 100644
--- a/system/s6/README
+++ b/system/s6/README
@@ -7,19 +7,39 @@ be used within or without the framework, and that can be assembled
together to achieve powerful functionality with a very small amount of
code.
-skalibs is only required at build time, not run time.
-
-
-Some hints for using this package on Slackware:
-
-I added the following to my /etc/inittab:
-
-# S6
-sv:12345:respawn:/command/s6-svscanboot
-
-Then did a 'telinit q' to start it.
-
-Note that the default s6-svscanboot provided disables polling
-(-t0). So after adding a new service to /service you should call:
-
-/command/s6-svscanctl -a /service
+Examples of things you can do by assembling together several programs
+provided by s6 - besides process supervision:
+
+- syslogd functionality, using much less resources than the traditional
+ syslogd.
+- Reliable service readiness notification, which is the basis for
+ service dependency management.
+- Controlled privileged gain as with sudo, without using any suid
+ programs.
+- The useful parts of socket activation without having to change
+ application code or link servers against any specific library, and
+ without having to switch to any specific init system.
+
+NOTE:
+Upstream recommends building skarnet.org softwares with static libraries
+as most of skarnet.org softwares are small enough that using shared
+libraries are generally not worth using. Therefore, by default, shared
+libraries are not built and binaries are linked against the static
+versions of the skarnet.org libraries.
+
+If you want to also build the shared libraries, pass BUILD_SHARED=yes
+environment variable to the SlackBuild script like below:
+
+ BUILD_SHARED=yes ./s6.SlackBuild
+
+Similarly, to avoid building the static libraries, you can pass
+BUILD_STATIC=no to the script. For example, to only build the shared
+libraries and not the static ones, you can do something like:
+
+ BUILD_SHARED=yes BUILD_STATIC=no ./s6.SlackBuild
+
+If you just want to build and use skarnet.org softwares, building only
+the static libraries should be sufficient.
+
+If you want the binaries to be linked against the shared versions of the
+skarnet.org libraries, pass LINK_SHARED=yes to the script.