Remove deprecated scripts for User Service File
All checks were successful
Run Tests on Code / run-tests (push) Successful in 9s
All checks were successful
Run Tests on Code / run-tests (push) Successful in 9s
This commit is contained in:
parent
bbee00c9f9
commit
9d5c3fcc23
1 changed files with 0 additions and 11 deletions
11
debian/prerm
vendored
11
debian/prerm
vendored
|
@ -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
|
|
Loading…
Reference in a new issue