summaryrefslogtreecommitdiffstats
path: root/abs/core/func/failed_func
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/func/failed_func')
-rw-r--r--abs/core/func/failed_func3
1 files changed, 3 insertions, 0 deletions
diff --git a/abs/core/func/failed_func b/abs/core/func/failed_func
index bb4ad7a..b4605bf 100644
--- a/abs/core/func/failed_func
+++ b/abs/core/func/failed_func
@@ -12,10 +12,13 @@ status=$?
if [ $status = 0 ]
then
echo "removing ca (failed_func.sh)"
+ touch /etc/pki/certmaster/ca/*
rm -f /etc/pki/certmaster/*
echo "restarting func"
sv stop funcd
+ sv stop certmaster
sleep 3
+ sv start certmaster
sv start funcd
fi