mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 08:18:51 +00:00
13 lines
278 B
Bash
13 lines
278 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
|
systemctl --system daemon-reload >/dev/null || true
|
|
fi
|
|
if [ "$1" = "purge" ]; then
|
|
if [ -x "/usr/bin/deb-systemd-helper" ]; then
|
|
deb-systemd-helper purge 'strfry.service' >/dev/null || true
|
|
fi
|
|
fi
|