diff options
author | Jesse Young <jlyo@jlyo.org> | 2011-11-25 12:46:26 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-01 07:15:51 +0000 |
commit | ae1967b66eba132dd8c9fa5b5f57712d012b6647 (patch) | |
tree | fca1c166178cd340ea41b6d3794cf58c4152f2f4 /main/backuppc/backuppc.initd | |
parent | 379338be8b4cd31b24080f7f01ae14fe124a84ae (diff) | |
download | aports-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.initd | 4 |
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 () { |