summaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
Diffstat (limited to 'shepherd')
-rw-r--r--shepherd/shepherd/init.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/shepherd/shepherd/init.scm b/shepherd/shepherd/init.scm
new file mode 100644
index 0000000..8ef2166
--- /dev/null
+++ b/shepherd/shepherd/init.scm
@@ -0,0 +1,14 @@
+;; init.scm -- default shepherd configuration file.
+
+;; Services known to shepherd:
+;; Add new services (defined using 'make <service>') to shepherd here by
+;; providing them as arguments to 'register-services'.
+(register-services)
+
+;; Send shepherd into the background
+(action 'shepherd 'daemonize)
+
+;; Services to start when shepherd starts:
+;; Add the name of each service that should be started to the list
+;; below passed to 'for-each'.
+(for-each start '())