chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Backgrounded commands and RELOAD.
[tripe]
/
tripe-init.in
diff --git
a/tripe-init.in
b/tripe-init.in
index b4c5e6d7336a10d35b857f96e887cb85155fce5e..e3d835ac6f24a10bf27af251868a5e7963f3dc35 100755
(executable)
--- a/
tripe-init.in
+++ b/
tripe-init.in
@@
-170,12
+170,16
@@
case "$1" in
$tripectl stats $i | sed 's/^/ /'
done
;;
$tripectl stats $i | sed 's/^/ /'
done
;;
+ reload)
+ $tripectl reload
+ echo "Keyrings reloaded OK."
+ ;;
restart | force-reload)
sh $0 stop
sh $0 start
;;
*)
restart | force-reload)
sh $0 stop
sh $0 start
;;
*)
- echo >&2 "usage: $0 start|stop|restart|status|force-reload"
+ echo >&2 "usage: $0 start|stop|restart|status|
reload|
force-reload"
exit 1
;;
esac
exit 1
;;
esac