Neshura
6b847ba34e
All checks were successful
Run Tests on Code / run-tests (push) Successful in 14s
8 lines
337 B
Bash
8 lines
337 B
Bash
#!/bin/sh
|
|
set -e
|
|
# 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
|