Merge branch 'distorted' into vampire
[mirror-admin] / bin / run-mirrors
index ef7f92c..fcc345b 100755 (executable)
@@ -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.