Skip to content

Commit 6b2fda0

Browse files
aptalcathelamer
authored andcommitted
clean up pid
1 parent dee93fd commit 6b2fda0

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Webui can be found at `<your-ip>:32400/web`
157157

158158
Valid settings for VERSION are:-
159159

160-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY VERSION IF YOU DO NOT HAVE PLEXPASS`
160+
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
161161

162162
+ **`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.
163163
+ **`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:
208208

209209
## Versions
210210

211+
* **15.02.19:** - Clean up plex pid after unclean stop.
211212
* **11.02.19:** - Fix nvidia variables, add device variables.
212213
* **16.01.19:** - Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service.
213214
* **07.09.18:** - Rebase to ubuntu bionic, add udev package.

readme-vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ app_setup_block: |
6262
6363
Valid settings for VERSION are:-
6464
65-
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY VERSION IF YOU DO NOT HAVE PLEXPASS`
65+
`IMPORTANT NOTE:- YOU CANNOT UPDATE TO A PLEXPASS ONLY (BETA) VERSION IF YOU ARE NOT LOGGED IN WITH A PLEXPASS ACCOUNT`
6666
6767
+ **`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.
6868
+ **`latest`**: will update plex to the latest version available that you are entitled to.
@@ -83,6 +83,7 @@ app_setup_block: |
8383
8484
# changelog
8585
changelogs:
86+
- { date: "15.02.19:", desc: "Clean up plex pid after unclean stop." }
8687
- { date: "11.02.19:", desc: "Fix nvidia variables, add device variables." }
8788
- { date: "16.01.19:", desc: "Add pipeline logic, multi arch, and HW transcoding configuration; remove avahi service." }
8889
- { date: "07.09.18:", desc: "Rebase to ubuntu bionic, add udev package." }

root/etc/cont-init.d/40-chown-files

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ if [ ! "$(stat -c %u /config/Library)" = "$PUID" ]; then
1515
/config/Library
1616
fi
1717

18+
# remove plex pid after unclean stop
19+
[[ -f "/config/Library/Application Support/Plex Media Server/plexmediaserver.pid" ]] && \
20+
rm /config/Library/Application Support/Plex Media Server/plexmediaserver.pid
21+
1822
# permissions (non-recursive) on config root and folders
1923
chown abc:abc \
2024
/config \

0 commit comments

Comments
 (0)