diff --git a/multimedia/serviio/rc.serviio b/multimedia/serviio/rc.serviio index 4afae80d85..eaa3776e69 100644 --- a/multimedia/serviio/rc.serviio +++ b/multimedia/serviio/rc.serviio @@ -22,7 +22,7 @@ start() { echo 'Starting Serviio DNLA server...' mkdir -p $(dirname ${PIDFILE}) chown ${SERVIIO_USER} $(dirname ${PIDFILE}) - su --login -c "$SERVIIO_CMD" $SERVIIO_USER + setpriv --reset-env --reuid ${SERVIIO_USER} ${SERVIIO_CMD} fi }