summaryrefslogtreecommitdiffstats
path: root/news/inn-stable/files/innd.sh
blob: 20e819b0ad244d62c2e3b93cabe9039eca7a71be (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
if [ $# -eq 0 -o x$1 = xstart ]; then
   if [ -x !!PREFIX!!/news/bin/rc.news -a -f !!PREFIX!!/news/db/history.pag ]; then
      limits -C news !!PREFIX!!/bin/rc.news && echo ' inn'
   fi
fi
if [ x$1 = xstop ]; then
   !!PREFIX!!/news/bin/ctlinnd shutdown machine is going down
fi
OpenPOWER on IntegriCloud