summaryrefslogtreecommitdiffstats
path: root/.github/prepare_debian.sh
diff options
context:
space:
mode:
authorJan Wagner <waja@cyconet.org>2023-10-17 11:39:37 (GMT)
committerJan Wagner <waja@cyconet.org>2023-10-17 11:39:37 (GMT)
commit2a047014385022c8dc06dad4da0428db14898689 (patch)
tree00abea46325decf0c72870ee8f9ec1472e8e5344 /.github/prepare_debian.sh
parentf39211c26408af582121f519d89c8abf70e6d437 (diff)
parente23a75d954311b3be429a9020e4d317b89615ee7 (diff)
downloadmonitoring-plugins-2a047014385022c8dc06dad4da0428db14898689.tar.gz
Merge branch 'master' of github.com:monitoring-plugins/monitoring-plugins
Diffstat (limited to '.github/prepare_debian.sh')
-rwxr-xr-x.github/prepare_debian.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/prepare_debian.sh b/.github/prepare_debian.sh
index 7f5592b..dcf778b 100755
--- a/.github/prepare_debian.sh
+++ b/.github/prepare_debian.sh
@@ -108,12 +108,7 @@ ssh -tt localhost </dev/null >/dev/null 2>/dev/null &
108disown %1 108disown %1
109 109
110# snmpd 110# snmpd
111for DIR in /usr/share/snmp/mibs /usr/share/mibs; do 111service snmpd stop
112 rm -f $DIR/ietf/SNMPv2-PDU \
113 $DIR/ietf/IPSEC-SPD-MIB \
114 $DIR/ietf/IPATM-IPMC-MIB \
115 $DIR/iana/IANA-IPPM-METRICS-REGISTRY-MIB
116done
117mkdir -p /var/lib/snmp/mib_indexes 112mkdir -p /var/lib/snmp/mib_indexes
118sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf 113sed -e 's/^agentaddress.*/agentaddress 127.0.0.1/' -i /etc/snmp/snmpd.conf
119service snmpd start 114service snmpd start
@@ -121,7 +116,11 @@ service snmpd start
121# start cron, will be used by check_nagios 116# start cron, will be used by check_nagios
122cron 117cron
123 118
124# start postfix 119# postfix
120cat <<EOD >> /etc/postfix/master.cf
121smtps inet n - n - - smtpd
122 -o smtpd_tls_wrappermode=yes
123EOD
125service postfix start 124service postfix start
126 125
127# start ftpd 126# start ftpd