clean up pid

This commit is contained in:
aptalca 2019-02-15 11:44:27 -05:00 committed by Ryan Kuba
parent dee93fd8c9
commit 6b2fda0ee7
3 changed files with 8 additions and 2 deletions

View file

@ -15,6 +15,10 @@ if [ ! "$(stat -c %u /config/Library)" = "$PUID" ]; then
/config/Library
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
# permissions (non-recursive) on config root and folders
chown abc:abc \
/config \