1
0
Fork 0
arangodb/Installation/debian/prerm.in

16 lines
381 B
Bash
Executable File

#!/bin/sh
set -e
# Automatically added by dh_installinit
if [ -x "/etc/init.d/arangodb3" ]; then
invoke-rc.d @CPACK_PACKAGE_NAME@ stop || exit $?
fi
# End automatically added section
set -e
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop .service >/dev/null
fi
# End automatically added section