~mdw
/
mirror-admin
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
0b16568
)
Merge branch 'distorted' into vampire
vampire
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 26 Mar 2012 16:52:30 +0000
(17:52 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 26 Mar 2012 16:52:30 +0000
(17:52 +0100)
* distorted:
etc/ftpsync-debian-security.conf: No updates for `oldstable'.
bin/ftpsync: `-exclude' means something completely wrong.
bin/run-mirrors
patch
|
blob
|
blame
|
history
diff --git
a/bin/run-mirrors
b/bin/run-mirrors
index
ef7f92c
..
fcc345b
100755
(executable)
--- a/
bin/run-mirrors
+++ b/
bin/run-mirrors
@@
-5,7
+5,7
@@
set -e
## Make sure we're running as the right user.
case $(id -un) in
mirror) ;;
- *) exec
userv -fstdin=/dev/null mirror run
;;
+ *) exec
sudo -umirror "$0" "$@"
;;
esac
## Set up a plausible environment.