From: martin f. krafft Date: Tue, 20 Jun 2017 09:38:03 +0000 (+0200) Subject: initial checkin X-Git-Url: https://git.madduck.net/etc/systemd.git/commitdiff_plain/3a560db96027600127a02df99d7aad8976571425 initial checkin --- 3a560db96027600127a02df99d7aad8976571425 diff --git a/.config/systemd/user/.gitignore b/.config/systemd/user/.gitignore new file mode 100644 index 0000000..03aeabf --- /dev/null +++ b/.config/systemd/user/.gitignore @@ -0,0 +1 @@ +/default.target.wants/** diff --git a/.config/vcsh/hooks-available/systemd.post-run+enter b/.config/vcsh/hooks-available/systemd.post-run+enter new file mode 100755 index 0000000..fb09002 --- /dev/null +++ b/.config/vcsh/hooks-available/systemd.post-run+enter @@ -0,0 +1,9 @@ +#!/bin/sh + +cd ~/.config/systemd/user +git ls-files . | while read s; do + s=${s##*/} + echo Enabling systemd user service $s … + systemctl --user enable $s + systemctl --user start $s +done diff --git a/.config/vcsh/hooks-enabled/post-enter.systemd b/.config/vcsh/hooks-enabled/post-enter.systemd new file mode 120000 index 0000000..330b0eb --- /dev/null +++ b/.config/vcsh/hooks-enabled/post-enter.systemd @@ -0,0 +1 @@ +../hooks-available/systemd.post-run+enter \ No newline at end of file diff --git a/.config/vcsh/hooks-enabled/post-run.systemd b/.config/vcsh/hooks-enabled/post-run.systemd new file mode 120000 index 0000000..330b0eb --- /dev/null +++ b/.config/vcsh/hooks-enabled/post-run.systemd @@ -0,0 +1 @@ +../hooks-available/systemd.post-run+enter \ No newline at end of file diff --git a/.gitignore.d/systemd b/.gitignore.d/systemd new file mode 100644 index 0000000..2746922 --- /dev/null +++ b/.gitignore.d/systemd @@ -0,0 +1,13 @@ +* +!/.config +!/.config/systemd +!/.config/systemd/user +!/.config/systemd/user/.gitignore +!/.config/vcsh +!/.config/vcsh/hooks-available +!/.config/vcsh/hooks-available/systemd.post-run+enter +!/.config/vcsh/hooks-enabled +!/.config/vcsh/hooks-enabled/post-enter.systemd +!/.config/vcsh/hooks-enabled/post-run.systemd +!/.gitignore.d +!/.gitignore.d/systemd