aboutsummaryrefslogtreecommitdiffstats
path: root/main/backuppc/backuppc.initd
diff options
context:
space:
mode:
authorJesse Young <jlyo@jlyo.org>2011-11-25 12:46:26 -0600
committerNatanael Copa <ncopa@alpinelinux.org>2011-12-01 07:15:51 +0000
commitae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch)
treefca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/backuppc/backuppc.initd
parent379338be8b4cd31b24080f7f01ae14fe124a84ae (diff)
downloadaports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.bz2
aports-ae1967b66eba132dd8c9fa5b5f57712d012b6647.tar.xz
Replace instances of "--chuid" to "--user" in initd scripts
Fixes #776 Signed-off-by: Jesse Young <jlyo@jlyo.org>
Diffstat (limited to 'main/backuppc/backuppc.initd')
-rw-r--r--main/backuppc/backuppc.initd4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/backuppc/backuppc.initd b/main/backuppc/backuppc.initd
index eefdc92c7c..850e6aeaa8 100644
--- a/main/backuppc/backuppc.initd
+++ b/main/backuppc/backuppc.initd
@@ -14,7 +14,7 @@ configure () {
start() {
ebegin "Starting $DAEMON"
start-stop-daemon --start --pidfile $BACKUPPC_LOGDIR/BackupPC.pid \
- -c $USER --exec $BACKUPPC_BINDIR/$DAEMON -- -d
+ --user $USER --exec $BACKUPPC_BINDIR/$DAEMON -- -d
eend $?
}
@@ -29,7 +29,7 @@ restart () {
start-stop-daemon --stop --pidfile $BACKUPPC_LOGDIR/BackupPC.pid \
--retry 30 -x /usr/bin/perl
start-stop-daemon --start --pidfile $BACKUPPC_LOGDIR/BackupPC.pid \
- -c $USER --exec $BACKUPPC_BINDIR/$DAEMON -- -d
+ --user $USER --exec $BACKUPPC_BINDIR/$DAEMON -- -d
}
reload () {