summaryrefslogtreecommitdiff
path: root/testing/smstools/smstools.initd
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-03-28 09:37:28 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-03-28 09:37:28 +0000
commit3ea40feffa05b67bc39dbee6c23cebe97fb50f9d (patch)
tree1547e3555a2f0477ce5f9c5f17606ebbbe38457a /testing/smstools/smstools.initd
parentedb0fdb8f767f75f28dab48e173321c13dea607e (diff)
downloadaports-3ea40feffa05b67bc39dbee6c23cebe97fb50f9d.zip
testing/smstools: fix user group
Diffstat (limited to 'testing/smstools/smstools.initd')
-rw-r--r--testing/smstools/smstools.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/smstools/smstools.initd b/testing/smstools/smstools.initd
index be1aa1deff4..44f707a80d3 100644
--- a/testing/smstools/smstools.initd
+++ b/testing/smstools/smstools.initd
@@ -11,14 +11,14 @@ start() {
if ! [ -d /var/run/smsd ]; then
ebegin "Creating /var/run/smsd for ${SVCNAME}"
mkdir /var/run/smsd \
- && chown smsd:sms /var/run/smsd \
+ && chown smsd:smsd /var/run/smsd \
&& chmod 770 /var/run/smsd
eend $?
fi
chown smsd:sms /var/log/smsd.log
ebegin "Starting smsd"
- start-stop-daemon -b -u smsd:sms --start --exec /usr/bin/smsd -- \
+ start-stop-daemon -b -u smsd:smsd --start --exec /usr/bin/smsd -- \
-c /etc/smsd.conf -p /var/run/smsd/smsd.pid \
-i /var/run/smsd/smsd.working
eend ${?}