summaryrefslogtreecommitdiff
path: root/testing/smstools/smstools.initd
diff options
context:
space:
mode:
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 ${?}