veilid/package/debian/veilid-server/DEBIAN/prerm

7 lines
149 B
Plaintext
Raw Normal View History

2022-05-16 11:52:48 -04:00
#!/bin/sh
set -e
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'veilid-server.service' >/dev/null || true
fi