Closes #34 #35

Merged
Neshura merged 6 commits from systemd-fix into main 2024-01-08 08:46:26 +00:00
Showing only changes of commit 9d5c3fcc23 - Show all commits

11
debian/prerm vendored
View file

@ -1,11 +0,0 @@
#!/bin/sh
#DEBHELPER#
# Also enable User Service
# Automatically added by cargo-deb
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
USER="$(who | head -1 | awk '{print $1;}')"
runuser -l $USER -c "XDG_RUNTIME_DIR=/run/user/$(id -u $USER) deb-systemd-invoke --user stop cloudflare-dns-updater.service >/dev/null || true"
fi
# End automatically added section