summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-04-04 12:12:08 -0700
committerZac Medico <zmedico@gentoo.org>2021-04-04 12:14:58 -0700
commit3d04ae0de7d4cc000fde28ccb4efd2ff84882c51 (patch)
tree03d55cdcb2aa5e219907653b470d6c0c6828708a /sys-cluster
parentprofiles/package.mask: drop mask for mod_jk (diff)
downloadgentoo-3d04ae0de7d4cc000fde28ccb4efd2ff84882c51.tar.gz
gentoo-3d04ae0de7d4cc000fde28ccb4efd2ff84882c51.tar.bz2
gentoo-3d04ae0de7d4cc000fde28ccb4efd2ff84882c51.zip
sys-cluster/gmqtt: allow command_user override
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/gmqtt/files/confd3
-rw-r--r--sys-cluster/gmqtt/files/initd2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys-cluster/gmqtt/files/confd b/sys-cluster/gmqtt/files/confd
index 5b25df933eed..7cc23708ee13 100644
--- a/sys-cluster/gmqtt/files/confd
+++ b/sys-cluster/gmqtt/files/confd
@@ -1 +1,2 @@
-GMQTTD_OPTS="-c /etc/gmqtt/gmqttd.yml start"
+# GMQTTD_OPTS="-c /etc/gmqtt/gmqttd.yml start"
+# command_user="nobody:nobody"
diff --git a/sys-cluster/gmqtt/files/initd b/sys-cluster/gmqtt/files/initd
index 9285f0d59a81..3545b9e1a0eb 100644
--- a/sys-cluster/gmqtt/files/initd
+++ b/sys-cluster/gmqtt/files/initd
@@ -3,7 +3,7 @@
description="Gmqtt Broker Service"
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
command="/usr/bin/gmqttd"
-command_user="nobody:nobody"
+command_user="${command_user:="nobody:nobody"}"
command_args="${GMQTTD_OPTS=:-"-c /etc/gmqtt/gmqttd.yml start"}"
command_background="true"
logfile=/var/log/gmqtt/${RC_SVCNAME}.log