aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-07-28 10:47:29 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2016-07-28 12:48:58 -0400
commit99dc4e7c9c6d1d96f08f62e4b629503f65107033 (patch)
treef96b73106702b32192e609179c4b33b084593ca9
parentNeed to incrememt version in the right file. (diff)
downloadirker-99dc4e7c9c6d1d96f08f62e4b629503f65107033.tar.xz
improve irkerd.service
irkerd should not be launched as root. admins might not remember whether the service is called "irkerd" or "irker". "irker daemon" doesn't really describe the service to someone who doesn't already know what it is. the .service file does not currently point to the relevant documentation. this patch addresses all of the above issues.
-rw-r--r--irkerd.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/irkerd.service b/irkerd.service
index d19378b..97f3f70 100644
--- a/irkerd.service
+++ b/irkerd.service
@@ -2,11 +2,14 @@
# Distributed under the terms of the BSD LICENSE
[Unit]
-Description=irker daemon
+Description=Internet Relay Chat (IRC) notification daemon
Requires=network.target
+Documentation=man:irkerd(8) man:irkerhook(1) man:irk(1)
[Service]
ExecStart=/usr/bin/irkerd
+User=irker
[Install]
WantedBy=multi-user.target
+Alias=irker.service