aboutsummaryrefslogtreecommitdiffstats
path: root/main/backuppc
diff options
context:
space:
mode:
Diffstat (limited to 'main/backuppc')
-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 () {