X-Git-Url: https://git.madduck.net/etc/systemd.git/blobdiff_plain/3a560db96027600127a02df99d7aad8976571425..bdbf49670b7878e8c0170681025250130d940f5f:/.config/vcsh/hooks-available/systemd.update diff --git a/.config/vcsh/hooks-available/systemd.update b/.config/vcsh/hooks-available/systemd.update new file mode 100755 index 0000000..fb09002 --- /dev/null +++ b/.config/vcsh/hooks-available/systemd.update @@ -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