summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Allbery <eagle@eyrie.org>2014-01-03 22:21:15 -0800
committerRuss Allbery <rra@debian.org>2017-12-29 13:55:17 -0800
commitb4666ba03b669c020eec90c1030bf3ca1d1e95f8 (patch)
tree75bdbe785ae73d1b42288e1491238f2733755d43
parent0dda02dcb5c1f4a9db22320f58c56893f6ec503b (diff)
Set lbcd service user and group
Add User=lbcd and Group=lbcd to the lbcd service unit. Upstream cannot assume the existence of these users, but Debian can since the postinst script creates them. Gbp-Pq: Name 0001-Set-lbcd-service-user-and-group.patch
-rw-r--r--systemd/lbcd.service.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/systemd/lbcd.service.in b/systemd/lbcd.service.in
index 5b24e57..d1d2ed3 100644
--- a/systemd/lbcd.service.in
+++ b/systemd/lbcd.service.in
@@ -10,6 +10,8 @@ Requires=lbcd.socket
Type=simple
NotifyAccess=main
Restart=always
+User=lbcd
+Group=lbcd
# Support for /etc/default/lbcd is here only for backward compatibility with
# the lbcd init script shipped with Debian. It and the $DAEMON_OPTS reference