summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-11 01:34:03 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-11 01:34:03 +0100
commitad15924ac3f0852214fd35d93482fc18dbbe4bec (patch)
tree2f29c181a3095b4851f7aa12a7a558471030af1b /unit
parent272c0e4995f2fe94fb2366c15453fdada341861a (diff)
downloadbiboumi-ad15924ac3f0852214fd35d93482fc18dbbe4bec.tar.gz
biboumi-ad15924ac3f0852214fd35d93482fc18dbbe4bec.tar.bz2
biboumi-ad15924ac3f0852214fd35d93482fc18dbbe4bec.tar.xz
biboumi-ad15924ac3f0852214fd35d93482fc18dbbe4bec.zip
Allow cmake to configure the systemd unit’s user and group
Diffstat (limited to 'unit')
-rw-r--r--unit/biboumi.service.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/unit/biboumi.service.cmake b/unit/biboumi.service.cmake
index 4685f43..1cdf4e1 100644
--- a/unit/biboumi.service.cmake
+++ b/unit/biboumi.service.cmake
@@ -9,8 +9,8 @@ ExecStart=${CMAKE_INSTALL_PREFIX}/bin/biboumi /etc/biboumi/biboumi.cfg
ExecReload=/bin/kill -s USR1 $MAINPID
WatchdogSec=${WATCHDOG_SEC}
Restart=always
-User=nobody
-Group=nobody
+User=${SERVICE_USER}
+Group=${SERVICE_GROUP}
[Install]
WantedBy=multi-user.target