clean up pid
This commit is contained in:
parent
dee93fd8c9
commit
6b2fda0ee7
3 changed files with 8 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue