diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-06-20 22:09:35 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-06-20 22:11:32 +0200 |
commit | 67d9eff0193a5ebc360a4200fa560d883177068f (patch) | |
tree | b24e8ee3382b95ba7fdf2f9f8e46749701cd9900 /debian/sync-httpd.prerm | |
parent | e03d7255f55b517f174b1f0157a5d9e6c55f23ff (diff) | |
download | sync-67d9eff0193a5ebc360a4200fa560d883177068f.tar.gz sync-67d9eff0193a5ebc360a4200fa560d883177068f.tar.bz2 sync-67d9eff0193a5ebc360a4200fa560d883177068f.zip |
fix debian package, in particular DB setup
Diffstat (limited to 'debian/sync-httpd.prerm')
-rw-r--r-- | debian/sync-httpd.prerm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/sync-httpd.prerm b/debian/sync-httpd.prerm index 24bed99..0c134b2 100644 --- a/debian/sync-httpd.prerm +++ b/debian/sync-httpd.prerm @@ -2,6 +2,10 @@ set -e +if [ -d /run/systemd/system ] && [ "$1" = remove ]; then + deb-systemd-invoke stop 'sync-httpd.service' >/dev/null || true +fi + if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule fi |