Skip to content

Commit

Permalink
clean up pid
Browse files Browse the repository at this point in the history
  • Loading branch information
aptalca authored and thelamer committed Feb 15, 2019
1 parent dee93fd commit 6b2fda0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Webui can be found at `<your-ip>:32400/web`

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.
+ **`latest`**: will update plex to the latest version available that you are entitled to.
Expand Down Expand Up @@ -208,6 +208,7 @@ Below are the instructions for updating containers:

## Versions

* **15.02.19:** - Clean up plex pid after unclean stop.
* **11.02.19:** - Fix nvidia variables, add device variables.
* **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.
Expand Down
3 changes: 2 additions & 1 deletion readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ app_setup_block: |
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.
+ **`latest`**: will update plex to the latest version available that you are entitled to.
Expand All @@ -83,6 +83,7 @@ app_setup_block: |
# changelog
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: "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." }
Expand Down
4 changes: 4 additions & 0 deletions root/etc/cont-init.d/40-chown-files
Original file line number Diff line number Diff line change
Expand Up @@ -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

This comment has been minimized.

Copy link
@travisghansen

travisghansen Feb 15, 2019

Does this need to be quoted?


# permissions (non-recursive) on config root and folders
chown abc:abc \
/config \
Expand Down

0 comments on commit 6b2fda0

Please sign in to comment.