summaryrefslogtreecommitdiff
path: root/news/inn/files
diff options
context:
space:
mode:
Diffstat (limited to 'news/inn/files')
-rw-r--r--news/inn/files/innd.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh
new file mode 100644
index 000000000000..18f1d68bd482
--- /dev/null
+++ b/news/inn/files/innd.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+if [ $# -eq 0 -o x$1 = xstart ]; then
+ if [ -x !!PREFIX!!/etc/rc.news -a -f !!PREFIX!!/news/lib/history.pag ]; then
+ limits -C news !!PREFIX!!/etc/rc.news && echo ' inn'
+ fi
+fi
+if [ x$1 = xstop ]; then
+ [ -x !!PREFIX!!/news/bin/ctlinnd stop machine is going down
+fi