diff options
Diffstat (limited to 'news/inn/files')
-rw-r--r-- | news/inn/files/innd.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/news/inn/files/innd.sh b/news/inn/files/innd.sh index 48bf27abf86e..ebffb30f748f 100644 --- a/news/inn/files/innd.sh +++ b/news/inn/files/innd.sh @@ -1,9 +1,9 @@ #!/bin/sh if [ $# -eq 0 -o x$1 = xstart ]; then if [ -x !!PREFIX!!/news/bin/rc.news -a -f !!PREFIX!!/news/db/history.dir ]; then - limits -C news !!PREFIX!!/news/bin/rc.news && echo ' inn' + su -fm news -c !!PREFIX!!/news/bin/rc.news && echo ' inn' fi fi if [ x$1 = xstop ]; then - !!PREFIX!!/news/bin/ctlinnd shutdown machine is going down + su -fm news -c !!PREFIX!!/news/bin/rc.news stop fi |