More work on running upstart services as non-privileged user

This commit is contained in:
Duncan Sommerville 2015-01-07 16:31:30 -05:00
parent e6d8a6f25e
commit a9a59337b8
3 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ setgid www-data
env LANG='en_US.UTF-8'
env LC_ALL='en_US.UTF-8'
exec airtime-media-monitor
exec su -s /bin/sh -c 'exec airtime-media-monitor' www-data -- init --user

View File

@ -12,4 +12,4 @@ setgid www-data
env LANG='en_US.UTF-8'
env LC_ALL='en_US.UTF-8'
exec airtime-liquidsoap
exec su -s /bin/sh -c 'exec airtime-liquidsoap' www-data -- init --user

View File

@ -12,4 +12,4 @@ setgid www-data
env LANG='en_US.UTF-8'
env LC_ALL='en_US.UTF-8'
exec airtime-playout
exec su -s /bin/sh -c 'exec airtime-playout' www-data -- init --user