summaryrefslogtreecommitdiffstats
path: root/abs/core/runit-scripts/runitscripts/services/xymon-server/run
blob: c2053b1c058d298b70830cfee6e34a672354727c (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
exec 2>&1
export TERM=linux
. /etc/rc.conf
. /etc/rc.d/functions
stat_runit "Starting xymon server"


exec chpst -u nobody /home/xymon/server/bin/xymonlaunch --config=/home/xymon/server/etc/tasks.cfg --env=/home/xymon/server/etc/xymonserver.cfg --log=/var/log/hobbit/xymonlaunch.log --pidfile=/var/log/hobbit/xymonlaunch.pid --no-daemon