veilid/package/debian/veilid-server/DEBIAN/prerm
2023-07-16 17:46:07 -04:00

8 lines
150 B
Bash
Executable File

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