From 96bc2df63591f6f7aa3ac199014151272f663fac Mon Sep 17 00:00:00 2001 From: thelamer Date: Fri, 15 Feb 2019 11:20:18 -0800 Subject: [PATCH] fix for pid removal on startup --- root/etc/cont-init.d/40-chown-files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/cont-init.d/40-chown-files b/root/etc/cont-init.d/40-chown-files index 9ba9b14..12b63b4 100644 --- a/root/etc/cont-init.d/40-chown-files +++ b/root/etc/cont-init.d/40-chown-files @@ -17,7 +17,7 @@ fi # remove plex pid after unclean stop [[ -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.pid" ]] && \ - rm /config/Library/Application Support/Plex Media Server/plexmediaserver.pid + rm -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.pid" # permissions (non-recursive) on config root and folders chown abc:abc \