diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-01-15 04:05:32 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-01-15 04:05:32 +0300 |
commit | 7b30d55e039849c777a60afa90afc21605b48812 (patch) | |
tree | 8733b0719110de9bdc1679f0310f75a871ae09eb | |
parent | 3a35b62b3b78eb19b181178b1d42f57cc0399fd6 (diff) |
build: fix post script
-rw-r--r-- | post-inst.sh | 6 |
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 |