summaryrefslogtreecommitdiffhomepage
path: root/s6-howto
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-08-14 18:16:08 -0400
committerrealtradam <[email protected]>2023-08-14 18:16:08 -0400
commit440f126691c42e45b7c85e130c0bec9f6a8ab0df (patch)
tree38f04bf592476ef202eb30b6dbfbcae99ff33081 /s6-howto
downloadScripts-master.tar.gz
Scripts-master.zip
Diffstat (limited to 's6-howto')
-rwxr-xr-xs6-howto18
1 files changed, 18 insertions, 0 deletions
diff --git a/s6-howto b/s6-howto
new file mode 100755
index 0000000..ebf5d7f
--- /dev/null
+++ b/s6-howto
@@ -0,0 +1,18 @@
+echo '
+Services:
+List all active services s6-rc -a list
+List all services that depend on foo s6-rc-db -d all-dependencies foo
+Stop a service/bundle s6-rc -d change service_name
+Start a service/bundle s6-rc -u change service_name
+List all active services s6-rc -a list
+List all services/bundles in the database s6-rc-db list all
+
+Bundles:
+To create a bundle s6-rc-bundle add <bundle> <service1> <service2> <service3>
+To delete a bundle s6-rc-bundle delete <bundle>
+To remove something from an existing bundle s6-rc-bundle-update delete <bundle> <service>
+To add something to an existing bundle s6-rc-bundle-update add <bundle> <service>
+
+To edit who runs something --> /etc/s6/sv
+'
+