forked from MediaBrowser/Emby.Build
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Carlos Hernandez
committed
Jun 2, 2017
1 parent
2b19a75
commit 13d5004
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
#!/bin/bash | ||
|
||
EDGE=1 | ||
|
||
echo "Stopping ${APP_NAME}..." | ||
s6-svc -d /var/run/s6/services/emby-server > /dev/null 2>&1 | ||
echo "Updating ${APP_NAME}..." | ||
zypper --quiet --non-interactive ref > /dev/null 2>&1 | ||
zypper --quiet --non-interactive up --no-recommends ${PKG_NAME} > /dev/null 2>&1 | ||
zypper cc --all | ||
rm -rf /var/cache/zypp* | ||
echo "Starting ${APP_NAME}..." | ||
s6-svc -u /var/run/s6/services/emby-server > /dev/null 2>&1 | ||
source /etc/cont-init.d/03-upgrade-onetime | ||
echo "Re-starting ${APP_NAME}..." | ||
s6-svc -u /var/run/s6/services/${APP_NAME} > /dev/null 2>&1 |
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