-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fec2f40
commit 5cf6556
Showing
17 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
Empty file modified
0
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/1-install-dependencies/run
100644 → 100755
Empty file.
Empty file.
5 changes: 5 additions & 0 deletions
5
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/2-npm-install/run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
echo "**** Running npm install ****" | ||
cd /app | ||
npm install |
1 change: 1 addition & 0 deletions
1
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/2-npm-install/type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oneshot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/s6-overlay/s6-rc.d/2-npm-install/run |
Empty file.
14 changes: 14 additions & 0 deletions
14
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/3-install-shim/run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
if file /usr/lib/plexmediaserver/'Plex Media Server' | grep -iq ASCII ; then | ||
echo "**** Root executable is already clusterplex-worker, only update ****" | ||
else | ||
echo "**** Root executable is still original, rename ****" | ||
mv /usr/lib/plexmediaserver/'Plex Media Server' /usr/lib/plexmediaserver/pms_original | ||
fi | ||
|
||
echo "**** Move shim to destination ****" | ||
cp /app/start.sh /usr/lib/plexmediaserver/'Plex Media Server' | ||
|
||
echo "**** Make the shim executable ****" | ||
chmod +x /usr/lib/plexmediaserver/'Plex Media Server' |
1 change: 1 addition & 0 deletions
1
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/3-install-shim/type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oneshot |
1 change: 1 addition & 0 deletions
1
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/3-install-shim/up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/s6-overlay/s6-rc.d/3-install-shim/run |
Empty file.
13 changes: 13 additions & 0 deletions
13
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/4-setup-codecs-dir/run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/with-contenv bash | ||
|
||
echo "**** Setting up codecs directory ****" | ||
if [ -d "/codecs" ] | ||
then | ||
echo "Directory already present" | ||
else | ||
echo "Creating /codecs" | ||
mkdir -p /codecs | ||
fi | ||
|
||
echo "**** Changing ownership for /codecs ****" | ||
chown abc:abc /codecs |
1 change: 1 addition & 0 deletions
1
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/4-setup-codecs-dir/type
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
oneshot |
1 change: 1 addition & 0 deletions
1
worker/docker-mod/root/etc/s6-overlay/s6-rc.d/4-setup-codecs-dir/up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/etc/s6-overlay/s6-rc.d/4-setup-nginx/run |
Empty file.
Empty file.
Empty file.
Empty file.