woodpecker/packaging/scripts/prerm.rpm
2014-10-12 23:51:51 +04:00

8 lines
No EOL
138 B
Bash

#!/bin/sh
set -e
if [ "$1" -eq 0 ] ; then
echo Stopping Drone
systemctl --no-reload disable drone || :
systemctl stop drone || :
fi