diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-04-04 12:12:08 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-04-04 12:14:58 -0700 |
commit | 3d04ae0de7d4cc000fde28ccb4efd2ff84882c51 (patch) | |
tree | 03d55cdcb2aa5e219907653b470d6c0c6828708a /sys-cluster | |
parent | profiles/package.mask: drop mask for mod_jk (diff) | |
download | gentoo-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/confd | 3 | ||||
-rw-r--r-- | sys-cluster/gmqtt/files/initd | 2 |
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 |