Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-01-15 04:05:32 +0300
committernachoparker <nacho@ownyourbits.com>2019-01-15 04:05:32 +0300
commit7b30d55e039849c777a60afa90afc21605b48812 (patch)
tree8733b0719110de9bdc1679f0310f75a871ae09eb
parent3a35b62b3b78eb19b181178b1d42f57cc0399fd6 (diff)
build: fix post script
-rw-r--r--post-inst.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/post-inst.sh b/post-inst.sh
index 986a6661..987008b5 100644
--- a/post-inst.sh
+++ b/post-inst.sh
@@ -11,10 +11,10 @@
configure()
{
# stop mysqld and redis
- mysqladmin -u root shutdown
- kill $( cat /run/redis/redis-server.pid )
+ mysqladmin -u root shutdown || true
+ kill $( cat /run/redis/redis-server.pid ) || true
[[ -f /run/crond.pid ]] && kill $( cat /run/crond.pid )
- pkill -f php-fpm
+ pkill -f php-fpm || true
# cleanup all NCP extras
source /usr/local/etc/library.sh