clean up pid

pull/157/head 1.14.1.5488-cc260c476-pkg-fcf34866-ls4
aptalca 6 years ago committed by Ryan Kuba
parent dee93fd8c9
commit 6b2fda0ee7

@ -157,7 +157,7 @@ Webui can be found at `<your-ip>:32400/web`
Valid settings for VERSION are:- Valid settings for VERSION are:-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY VERSION IF YOU DO NOT HAVE PLEXPASS` `IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
+ **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command. + **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.
+ **`latest`**: will update plex to the latest version available that you are entitled to. + **`latest`**: will update plex to the latest version available that you are entitled to.
@ -208,6 +208,7 @@ Below are the instructions for updating containers:
## Versions ## Versions
* **15.02.19:** - Clean up plex pid after unclean stop.
* **11.02.19:** - Fix nvidia variables, add device variables. * **11.02.19:** - Fix nvidia variables, add device variables.
* **16.01.19:** - Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service. * **16.01.19:** - Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service.
* **07.09.18:** - Rebase to ubuntu bionic, add udev package. * **07.09.18:** - Rebase to ubuntu bionic, add udev package.

@ -62,7 +62,7 @@ app_setup_block: |
Valid settings for VERSION are:- Valid settings for VERSION are:-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY VERSION IF YOU DO NOT HAVE PLEXPASS` `IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
+ **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command. + **`docker`**: Let Docker handle the Plex Version, we keep our Dockerhub Endpoint up to date with the latest public builds. This is the same as leaving this setting out of your create command.
+ **`latest`**: will update plex to the latest version available that you are entitled to. + **`latest`**: will update plex to the latest version available that you are entitled to.
@ -83,6 +83,7 @@ app_setup_block: |
# changelog # changelog
changelogs: changelogs:
- { date: "15.02.19:", desc: "Clean up plex pid after unclean stop." }
- { date: "11.02.19:", desc: "Fix nvidia variables, add device variables." } - { date: "11.02.19:", desc: "Fix nvidia variables, add device variables." }
- { date: "16.01.19:", desc: "Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service." } - { date: "16.01.19:", desc: "Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service." }
- { date: "07.09.18:", desc: "Rebase to ubuntu bionic, add udev package." } - { date: "07.09.18:", desc: "Rebase to ubuntu bionic, add udev package." }

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

Loading…
Cancel
Save