]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
saving uncommitted changes in /etc prior to emerge run
authorFrank Brehm <frank@brehm-online.com>
Mon, 16 Jan 2017 12:06:35 +0000 (13:06 +0100)
committerFrank Brehm <frank@brehm-online.com>
Mon, 16 Jan 2017 12:06:35 +0000 (13:06 +0100)
.etckeeper
hosts
portage/package.use
systemd/system/motd.service [new file with mode: 0644]
systemd/system/motd.timer [new file with mode: 0644]
systemd/system/multi-user.target.wants/motd.timer [new symlink]

index d52243d0c24c285ac42c10c3e324630ce6ef0cd9..749ca38d3b6482bcc5294c3a1f001221a28c3e0c 100755 (executable)
@@ -1997,6 +1997,8 @@ maybe chmod 0644 'systemd/system.conf'
 maybe chmod 0755 'systemd/system/getty.target.wants'
 maybe chmod 0755 'systemd/system/getty@.service.d'
 maybe chmod 0644 'systemd/system/getty@.service.d/noclear.conf'
+maybe chmod 0644 'systemd/system/motd.service'
+maybe chmod 0644 'systemd/system/motd.timer'
 maybe chmod 0755 'systemd/system/multi-user.target.wants'
 maybe chmod 0755 'systemd/system/slapd.service.d'
 maybe chmod 0644 'systemd/system/slapd.service.d/00gentoo.conf'
diff --git a/hosts b/hosts
index cef73458ea622ee5467f1caf1924de3d17c82d5d..0422aac33667f5f841b0d6fe7a49d15364b794c4 100644 (file)
--- a/hosts
+++ b/hosts
@@ -35,3 +35,9 @@
 # from your network provider (if any) or from your regional registry (ARIN, 
 # APNIC, LACNIC, RIPE NCC, or AfriNIC.)
 #
+
+192.168.122.5  postfix-test.pixelpark.com      postfix-test
+#192.168.122.149       berta.pixelpark.com             berta
+192.168.122.139        learning.pixelpark.com          learning
+192.168.122.54 ppm.pixelpark.com               ppm
+
index 4eaed740be2ef5376c71cb2bef46661160e91667..0f2d8249943ab082f27cb9cc12b2494328d01162 100644 (file)
@@ -16,6 +16,7 @@ app-emulation/qemu              iscsi static-user
 
 app-eselect/eselect-php                fpm
 
+app-misc/ca-certificates       cacert
 app-misc/mc                     7zip chdir mclib  sftp spell
 
 app-portage/eix                 optimization strong-optimization tools
@@ -23,6 +24,7 @@ app-portage/eix                 optimization strong-optimization tools
 app-shells/bash                        plugins
 
 app-text/asciidoc              python_single_target_python2_7
+app-text/xmlto                 text
 
 dev-db/mariadb                  -server
 dev-db/phpmyadmin              setup
@@ -39,6 +41,7 @@ dev-libs/glib                   static-libs
 dev-libs/liblogging             rfc3195
 dev-libs/libpcre               static-libs
 dev-libs/libyaml               examples
+dev-libs/nss                   cacert
 
 dev-python/ipython             smp
 dev-python/numpy               lapack
diff --git a/systemd/system/motd.service b/systemd/system/motd.service
new file mode 100644 (file)
index 0000000..d9c7478
--- /dev/null
@@ -0,0 +1,8 @@
+[Unit]
+Description=Generate new Motd
+RefuseManualStart=no
+RefuseManualStop=yes
+[Service]
+Type=oneshot
+ExecStart=/root/bin/generate-motd.sh
diff --git a/systemd/system/motd.timer b/systemd/system/motd.timer
new file mode 100644 (file)
index 0000000..b015ff2
--- /dev/null
@@ -0,0 +1,15 @@
+[Unit]
+Description=Generate new Motd
+RefuseManualStart=no
+RefuseManualStop=no
+[Timer]
+OnBootSec=2min
+OnUnitActiveSec=5min
+Unit=motd.service
+
+
+[Install]
+WantedBy=multi-user.target
+
+# vim: filetype=dosini
diff --git a/systemd/system/multi-user.target.wants/motd.timer b/systemd/system/multi-user.target.wants/motd.timer
new file mode 120000 (symlink)
index 0000000..e4d5d16
--- /dev/null
@@ -0,0 +1 @@
+/etc/systemd/system/motd.timer
\ No newline at end of file