summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-04-04 13:56:03 -0700
committerZac Medico <zmedico@gentoo.org>2021-04-04 13:56:29 -0700
commit9dace752281f7a6498679d3edce5ca5ac03187a7 (patch)
tree2c9b774cb00269b76e38f3cfd11b8668285d1778 /sys-cluster
parentdev-haskell/th-utilities: remove unused patch(es) (diff)
downloadgentoo-9dace752281f7a6498679d3edce5ca5ac03187a7.tar.gz
gentoo-9dace752281f7a6498679d3edce5ca5ac03187a7.tar.bz2
gentoo-9dace752281f7a6498679d3edce5ca5ac03187a7.zip
sys-cluster/gmqtt: fix initd syntax
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/initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-cluster/gmqtt/files/initd b/sys-cluster/gmqtt/files/initd
index 3545b9e1a0eb..ec579abc501d 100644
--- a/sys-cluster/gmqtt/files/initd
+++ b/sys-cluster/gmqtt/files/initd
@@ -3,8 +3,8 @@
description="Gmqtt Broker Service"
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
command="/usr/bin/gmqttd"
-command_user="${command_user:="nobody:nobody"}"
-command_args="${GMQTTD_OPTS=:-"-c /etc/gmqtt/gmqttd.yml start"}"
+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
start_stop_daemon_args="--user ${command_user%:*} --group ${command_user#*:}