]> git.madduck.net Git - etc/systemd.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

initial checkin
authormartin f. krafft <madduck@madduck.net>
Tue, 20 Jun 2017 09:38:03 +0000 (11:38 +0200)
committermartin f. krafft <madduck@madduck.net>
Tue, 20 Jun 2017 09:38:07 +0000 (11:38 +0200)
.config/systemd/user/.gitignore [new file with mode: 0644]
.config/vcsh/hooks-available/systemd.post-run+enter [new file with mode: 0755]
.config/vcsh/hooks-enabled/post-enter.systemd [new symlink]
.config/vcsh/hooks-enabled/post-run.systemd [new symlink]
.gitignore.d/systemd [new file with mode: 0644]

diff --git a/.config/systemd/user/.gitignore b/.config/systemd/user/.gitignore
new file mode 100644 (file)
index 0000000..03aeabf
--- /dev/null
@@ -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 (executable)
index 0000000..fb09002
--- /dev/null
@@ -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 (symlink)
index 0000000..330b0eb
--- /dev/null
@@ -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 (symlink)
index 0000000..330b0eb
--- /dev/null
@@ -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 (file)
index 0000000..2746922
--- /dev/null
@@ -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