diff options
Diffstat (limited to 'multimedia/serviio/rc.serviio')
-rw-r--r-- | multimedia/serviio/rc.serviio | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/multimedia/serviio/rc.serviio b/multimedia/serviio/rc.serviio index 4afae80d85662..eaa3776e69a3e 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 } |