diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/serviio/rc.serviio | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/multimedia/serviio/rc.serviio b/multimedia/serviio/rc.serviio index f81a3bfd74c8f..4afae80d85662 100644 --- a/multimedia/serviio/rc.serviio +++ b/multimedia/serviio/rc.serviio @@ -20,6 +20,8 @@ start() { echo "$PIDFILE exists and delete it." else echo 'Starting Serviio DNLA server...' + mkdir -p $(dirname ${PIDFILE}) + chown ${SERVIIO_USER} $(dirname ${PIDFILE}) su --login -c "$SERVIIO_CMD" $SERVIIO_USER fi } |