aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil <neil@dip.sun.ac.za>2016-08-04 21:47:18 +0200
committerNeil <neil@dip.sun.ac.za>2016-08-04 21:47:18 +0200
commit2ccf52cdbbeff1a53e8633f5f82773d0219bf52f (patch)
treeae5280d1564b90cb53e1154183ce844244a35291
parentNeed to incrememt version in the right file. (diff)
downloadirker-2ccf52cdbbeff1a53e8633f5f82773d0219bf52f.tar.xz
Make systemd unit use a dedicated user, and note this in the install documentation
-rw-r--r--install.txt6
-rw-r--r--irkerd.service1
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 d19378b..b205608 100644
--- a/irkerd.service
+++ b/irkerd.service
@@ -6,6 +6,7 @@ Description=irker daemon
Requires=network.target
[Service]
+User=irker
ExecStart=/usr/bin/irkerd
[Install]