From ad15924ac3f0852214fd35d93482fc18dbbe4bec Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 11 Jun 2016 01:34:03 +0100 Subject: =?UTF-8?q?Allow=20cmake=20to=20configure=20the=20systemd=20unit?= =?UTF-8?q?=E2=80=99s=20user=20and=20group?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unit/biboumi.service.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'unit') 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 -- cgit v1.2.3