summaryrefslogtreecommitdiff
path: root/package/icinga/files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-26 09:53:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-26 09:56:01 +0200
commit1aacea2738c291c5e144ad1913c3ed6cca9f87db (patch)
treef8a39f8d250a1a8bc1e56a3607b59231281f1927 /package/icinga/files
parent5bdd93287770808c4100008b8b0b39c1a55bf098 (diff)
use XZ tarballs as default
Diffstat (limited to 'package/icinga/files')
-rw-r--r--package/icinga/files/icinga.init35
-rw-r--r--package/icinga/files/icinga.postinst6
2 files changed, 0 insertions, 41 deletions
diff --git a/package/icinga/files/icinga.init b/package/icinga/files/icinga.init
deleted file mode 100644
index e66944522..000000000
--- a/package/icinga/files/icinga.init
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-#PKG icinga
-#INIT 80
-. /etc/rc.conf
-
-case $1 in
-autostop) ;;
-autostart)
- test x"${icinga:-NO}" = x"NO" && exit 0
- exec sh $0 start
- ;;
-start)
- [ -d /var/run/icinga ] || mkdir -p /var/run/icinga
- [ -d /var/rw ] || mkdir -p /var/rw
- [ -d /var/spool/checkresults ] || mkdir -p /var/spool/checkresults
- touch /var/log/icinga.log
- chown icinga:icinga /var/log/icinga.log
- chown icinga:icinga /var/run/icinga
- chown icinga:icinga /var/spool/checkresults
- chown icinga:icinga /var/rw
- icinga -d /etc/icinga/icinga.cfg
- ;;
-stop)
- kill $(pgrep -f icinga)
- ;;
-restart)
- sh $0 stop
- sh $0 start
- ;;
-*)
- echo "Usage: $0 {start | stop | restart}"
- exit 1
- ;;
-esac
-exit $?
diff --git a/package/icinga/files/icinga.postinst b/package/icinga/files/icinga.postinst
deleted file mode 100644
index c0df0e7ea..000000000
--- a/package/icinga/files/icinga.postinst
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_rcconf icinga icinga NO
-gid=$(get_next_gid)
-add_group icinga $gid
-add_user icinga $(get_next_uid) $gid /etc/icinga