-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
1,917 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
#bin/init.d/alignak* /etc/init.d/ | ||
#etc/default/alignak | ||
etc/daemons/* /etc/alignak/daemons/ | ||
etc/certs/* /etc/alignak/certs/ | ||
# Define files to install: | ||
# from to | ||
# --- | ||
|
||
# systemd files: we use systemd as a default system loader | ||
# comments in this section must be inverted if we do not want to use systemd... | ||
systemd/* /lib/systemd/system/ | ||
#systemV/default/alignak /etc/default/alignak/ | ||
#systemV/init.d/alignak* /etc/init.d/ | ||
|
||
# alignak default configuration files | ||
etc/alignak.cfg /etc/alignak/ | ||
etc/alignak.ini /etc/alignak/ | ||
etc/arbiter/* /etc/alignak/arbiter | ||
systemd/* /lib/systemd/system/ | ||
etc/daemons/* /etc/alignak/daemons/ | ||
etc/certs/* /etc/alignak/certs/ | ||
# Do not copy the samples files - useful to copy? | ||
#etc/samples /etc/alignak/samples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,15 +5,15 @@ Source: https://alignak-monitoring.github.io/ | |
|
||
Files: * | ||
Copyright: | ||
2015-2015 Alignak team | ||
2015-2017 Alignak team | ||
2009-2014 Shinken team | ||
Please see THANKS and AUTHORS for full list of contributors | ||
License: AGPL-3.0+ | ||
|
||
|
||
|
||
Files: debian/* | ||
Copyright: 2015 Sebastien Coavoux <[email protected]> | ||
Copyright: 2015-2017 Sebastien Coavoux <[email protected]> | ||
License: GPL-2 | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_arbiter | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_arbiter" | ||
rcvar="alignak_arbiter_enable" | ||
|
||
alignak_arbiter_daemonfile="/usr/local/etc/alignak/daemons/arbiterd.ini" | ||
alignak_arbiter_configfile="/usr/local/etc/alignak/alignak.cfg" | ||
command="/usr/local/bin/alignak-arbiter" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_arbiter_daemonfile} -a ${alignak_arbiter_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/arbiterd.pid" | ||
|
||
restart_precmd="alignak_checkconfig" | ||
configtest_cmd="alignak_checkconfig" | ||
|
||
required_files="${alignak_arbiter_configfile}" | ||
extra_commands="configtest" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_arbiter_enable}" ] && alignak_arbiter_enable="NO" | ||
|
||
alignak_checkconfig() { | ||
echo -n "Performing sanity check on alignak configuration: " | ||
${command} -V -a ${alignak_arbiter_configfile} >/dev/null 2>&1 | ||
if [ $? -ne 0 ]; then | ||
echo "FAILED" | ||
return 1 | ||
else | ||
echo "OK" | ||
fi | ||
} | ||
|
||
run_rc_command "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_broker | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_broker" | ||
rcvar="alignak_broker_enable" | ||
|
||
alignak_broker_configfile="/usr/local/etc/alignak/daemons/brokerd.ini" | ||
command="/usr/local/bin/alignak-broker" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_broker_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/brokerd.pid" | ||
|
||
required_files="${alignak_broker_configfile}" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_broker_enable}" ] && alignak_broker_enable="NO" | ||
|
||
run_rc_command "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_poller | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_poller" | ||
rcvar="alignak_poller_enable" | ||
|
||
alignak_poller_configfile="/usr/local/etc/alignak/daemons/pollerd.ini" | ||
command="/usr/local/bin/alignak-poller" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_poller_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/pollerd.pid" | ||
|
||
required_files="${alignak_poller_configfile}" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_poller_enable}" ] && alignak_poller_enable="NO" | ||
|
||
run_rc_command "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_reactionner | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_reactionner" | ||
rcvar="alignak_reactionner_enable" | ||
|
||
alignak_reactionner_configfile="/usr/local/etc/alignak/daemons/reactionnerd.ini" | ||
command="/usr/local/bin/alignak-reactionner" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_reactionner_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/reactionnerd.pid" | ||
|
||
required_files="${alignak_reactionner_configfile}" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_reactionner_enable}" ] && alignak_reactionner_enable="NO" | ||
|
||
run_rc_command "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_receiver | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_receiver" | ||
rcvar="alignak_receiver_enable" | ||
|
||
alignak_receiver_configfile="/usr/local/etc/alignak/daemons/receiverd.ini" | ||
command="/usr/local/bin/alignak-receiver" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_receiver_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/receiverd.pid" | ||
|
||
required_files="${alignak_receiver_configfile}" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_receiver_enable}" ] && alignak_receiver_enable="NO" | ||
|
||
run_rc_command "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
# $FreeBSD$ | ||
# | ||
# PROVIDE: alignak_scheduler | ||
# REQUIRE: LOGIN | ||
# KEYWORD: shutdown | ||
|
||
. /etc/rc.subr | ||
|
||
name="alignak_scheduler" | ||
rcvar="alignak_scheduler_enable" | ||
|
||
alignak_scheduler_configfile="/usr/local/etc/alignak/daemons/schedulerd.ini" | ||
command="/usr/local/bin/alignak-scheduler" | ||
command_interpreter="/usr/local/bin/python2.7" | ||
command_args="-d -c ${alignak_scheduler_configfile} > /dev/null 2>&1" | ||
pidfile="/var/run/alignak/schedulerd.pid" | ||
|
||
required_files="${alignak_scheduler_configfile}" | ||
|
||
load_rc_config "${name}" | ||
|
||
[ -z "${alignak_scheduler_enable}" ] && alignak_scheduler_enable="NO" | ||
|
||
run_rc_command "$1" |
Oops, something went wrong.