Skip to content

Commit

Permalink
fix debian prerm script (arangodb#4674)
Browse files Browse the repository at this point in the history
  • Loading branch information
dothebart authored and jsteemann committed Feb 27, 2018
1 parent 25deabf commit 6ccfe1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Installation/debian/prerm.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ fi
set -e
# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop @CPACK_PACKAGE_NAME@.service >/dev/null
if systemctl list-unit-files | grep -q @CPACK_PACKAGE_NAME@.service ; then
deb-systemd-invoke stop @CPACK_PACKAGE_NAME@.service
fi
fi
# End automatically added section

0 comments on commit 6ccfe1e

Please sign in to comment.