diff options
authorEric S. Raymond <esr@thyrsus.com>2017-02-12 12:27:23 +0000
committerEric S. Raymond <esr@thyrsus.com>2017-02-12 12:27:23 +0000
commit76fbb7dda3cf0f4daa0017b1dc1ce50d452e5958 (patch)
parentMerge branch 'service-fixup' into 'master' (diff)
parentMake systemd unit use a dedicated user, and note this in the install document... (diff)
Merge branch 'feature/use_non-root_user_in_systemd' into 'master'
Make systemd unit use a dedicated user, and note this in the install documentation See merge request !13
2 files changed, 7 insertions, 0 deletions
diff --git a/install.txt b/install.txt
index c1a8f5a..93c20bb 100644
--- a/install.txt
+++ b/install.txt
@@ -47,6 +47,12 @@ inside the firewall, so that repository hooks can reach port 6659.
The file org.catb.irkerd.plist is a Mac OS/X plist that can be
installed to launch irkerd as a boot-time service on that system.
+irker.service is a systemd unit that can run irkerd as a boot-time
+service on systems that support systemd. This is configured to
+run irkerd under a seperate user account (irker), so this needs to
+be setup before starting irker, or the unit needs to be modified
+to use a different user.
== Installing irkerhook.py ==
Under git, a call to irkerhook.py should be installed in the update
diff --git a/irkerd.service b/irkerd.service
index 97f3f70..4e75ae2 100644
--- a/irkerd.service
+++ b/irkerd.service
@@ -7,6 +7,7 @@ Requires=network.target
Documentation=man:irkerd(8) man:irkerhook(1) man:irk(1)