Allow cmake to configure the systemd unit’s user and group
This commit is contained in:
1 parent
272c0e4995
commit
ad15924ac3
2 files changed
+8
-2
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user