From: Frank Brehm Date: Mon, 16 Jan 2017 12:06:35 +0000 (+0100) Subject: saving uncommitted changes in /etc prior to emerge run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=8748093e5c40cf32de5ed0f99b447fd7324dfc0c;p=config%2Fberta%2Fetc.git saving uncommitted changes in /etc prior to emerge run --- diff --git a/.etckeeper b/.etckeeper index d52243d..749ca38 100755 --- a/.etckeeper +++ b/.etckeeper @@ -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 cef7345..0422aac 100644 --- 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 + diff --git a/portage/package.use b/portage/package.use index 4eaed74..0f2d824 100644 --- a/portage/package.use +++ b/portage/package.use @@ -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 index 0000000..d9c7478 --- /dev/null +++ b/systemd/system/motd.service @@ -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 index 0000000..b015ff2 --- /dev/null +++ b/systemd/system/motd.timer @@ -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 index 0000000..e4d5d16 --- /dev/null +++ b/systemd/system/multi-user.target.wants/motd.timer @@ -0,0 +1 @@ +/etc/systemd/system/motd.timer \ No newline at end of file