X-Git-Url: https://git.madduck.net/etc/systemd.git/blobdiff_plain/2300d89744e26136ebc64e84d483d94cf6f73f54..813397c6c798f84c6ff8cd8bb41ea2e7d5b8300c:/.config/vcsh/hooks-available/systemd-user.update diff --git a/.config/vcsh/hooks-available/systemd-user.update b/.config/vcsh/hooks-available/systemd-user.update new file mode 100755 index 0000000..3e949fc --- /dev/null +++ b/.config/vcsh/hooks-available/systemd-user.update @@ -0,0 +1,6 @@ +#!/bin/sh + +cd ${XDG_CONFIG_DIR:-~/.config}/systemd/user +git ls-files . | grep -q . || exit 0 +echo Triggering systemd-user daemon reload… >&2 +systemctl --user daemon-reload