]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
Current state
authorFrank Brehm <frank.brehm@profitbricks.com>
Thu, 14 Mar 2013 18:28:28 +0000 (19:28 +0100)
committerFrank Brehm <frank.brehm@profitbricks.com>
Thu, 14 Mar 2013 18:28:28 +0000 (19:28 +0100)
conf.d/net
local.d/baselayout1.start [new file with mode: 0755]
local.d/baselayout1.stop [new file with mode: 0755]
ssl/CA-fbrehm/postfix/postfix-cert.cnf

index ccf6891e399c9383b1e7204a98520ac7538a5939..83763c63a01d5968c8bd5a0ea388493c5d593fbb 100644 (file)
@@ -11,3 +11,4 @@ dns_domain_eth0="pb.local"
 dns_servers_eth0="192.168.178.30 192.168.178.89"
 dns_search_eth0="pb.local brehm-online.com dc1.de.profitbricks.net dc2.us.profitbricks.net dc252.de.profitbricks.net uhu-banane.de"
 
+# vim: filetype=gentoo-conf-d ts=3 et
diff --git a/local.d/baselayout1.start b/local.d/baselayout1.start
new file mode 100755 (executable)
index 0000000..86f80ed
--- /dev/null
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+# /etc/conf.d/local.start
+
+# This is a good place to load any misc programs
+# on startup (use &>/dev/null to hide output)
+
+#echo "Setze Standard-Route IPv6 via fe80::1 dev eth0"
+#/sbin/ip -6 route add default via fe80::1 dev eth0
+
+#/sbin/ip -6 route add "2a01:238:4225:6e00::/56" dev lo
+
+echo "Sende Mail wegen Boot ..."
+echo "Server $(hostname) wird '$(date)' gebootet" |  /usr/bin/mailx -s "Boot von $(hostname)" root@localhost
+
+# vim: ts=4 expandtab
diff --git a/local.d/baselayout1.stop b/local.d/baselayout1.stop
new file mode 100755 (executable)
index 0000000..54331d9
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+# /etc/conf.d/local.stop
+
+# This is a good place to unload any misc.
+# programs you started above.
+# For example, if you are using OSS and have
+# "/usr/local/bin/soundon" above, put
+# "/usr/local/bin/soundoff" here.
+
+echo "Sende Mail wegen Shutdown ..."
+echo "Server $(hostname) wird '$(date)' ordentlich heruntergefahren" | /usr/bin/mailx -s "Shutdown von $(hostname)" root@localhost
+
+echo
+echo "Warte 5 Sekunden ..."
+echo
+sleep 5
+
+# vim: ts=4 expandtab
index 7be4e6e8726bdde691cb0a9fab3062dba898cb3d..6389f987a7a3890ca0eae12d1fa591b5b7d5fd15 100644 (file)
@@ -14,7 +14,7 @@ ST=Berlin
 L=Berlin
 O=Berlin
 OU=Local Postfix SSL key
-CN=stralsund.pb.local
+CN=samara.pb.local
 emailAddress=frank.brehm@profitbricks.com