Changeset - 712b95e03b94
[Not reviewed]
0 1 0
Chel Sea (chain) - 12 years ago 2013-08-08 02:48:18
chain@rpgfiction.net
fix init script for tmpfiles.d
1 file changed with 0 insertions and 4 deletions:
0 comments (0 inline, 0 general)
net-analyzer/centreon/files/centreon.initd
Show inline comments
 
@@ -6,16 +6,12 @@
 
depend() {
 
	need mysql
 
}
 

	
 
start() {
 
	ebegin "Starting CentCore"
 
    if [ ! -e /run/centreon ]; then
 
		mkdir /run/centreon
 
		chown nagios:nagios /run/centreon
 
	fi
 
	start-stop-daemon --start --pidfile /run/centreon/centcore.pid \
 
		--user nagios --chuid nagios \
 
		--group nagios \
 
		--startas /usr/sbin/centcore -- \
 
		>> /var/log/centreon/centcore.log 2>&1
 
	eend
0 comments (0 inline, 0 general)