Use sudo instead of su

This commit is contained in:
dave 2015-10-02 00:00:52 -07:00
parent 46c99f7eca
commit 39286bd4cf
1 changed files with 1 additions and 1 deletions

2
start
View File

@ -3,4 +3,4 @@
# Cleanly kill plex when container is stopped
trap 'kill $(jobs -p)' EXIT
su -c "/usr/sbin/start_pms" plex
sudo -u plex -H /usr/sbin/start_pms