From 39286bd4cfe978ba67bace8137dc964d751be5e6 Mon Sep 17 00:00:00 2001 From: dave Date: Fri, 2 Oct 2015 00:00:52 -0700 Subject: [PATCH] Use sudo instead of su --- start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start b/start index b5f3fe0..07f8509 100755 --- a/start +++ b/start @@ -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