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>2018-06-27 22:20:00 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-28 18:20:56 +0300
commitc2d0e49d31ca334b469475250a6576ecd566cbc6 (patch)
tree5a8eed044333d4201299d3ebf7baf8fb8fd2cbd4 /post-inst.sh
parent16227491a7b1033590e534d6166f5b3bf54812d9 (diff)
build: kill cron upon cleanup
Diffstat (limited to 'post-inst.sh')
-rw-r--r--post-inst.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/post-inst.sh b/post-inst.sh
index 4d0078a0..9e4b85b0 100644
--- a/post-inst.sh
+++ b/post-inst.sh
@@ -13,6 +13,7 @@ install()
# stop mysqld and redis
mysqladmin -u root shutdown
kill $( cat /run/redis/redis-server.pid )
+ [[ -f /run/crond.pid ]] && kill $( cat /run/crond.pid )
# disable unused apache mods
a2dismod status reqtimeout env autoindex access_compat auth_basic authn_file authn_core alias access_compat