summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-news/inn/files/innd4
1 files changed, 2 insertions, 2 deletions
diff --git a/net-news/inn/files/innd b/net-news/inn/files/innd
index baa3000a3557..b135b7f25f1e 100644
--- a/net-news/inn/files/innd
+++ b/net-news/inn/files/innd
@@ -9,12 +9,12 @@ depend() {
start() {
ebegin "Starting innd"
- start-stop-daemon --start --quiet --chuid news:news --exec /usr/lib/news/bin/innd
+ su - news -c /usr/lib/news/bin/rc.news
eend $?
}
stop() {
ebegin "Stopping innd"
- start-stop-daemon --stop --quiet --pidfile /var/run/innd.pid
+ su - news -c '/usr/lib/news/bin/rc.news stop'
eend $?
}