evcc-io/packaging/scripts/preremove.sh
Andreas Linde 54a4fe72ef
Add deb package and nightly distribution (#1977)
- Add publishing automated debian package releases via Cloudsmith.io, which allows evcc to be installed and updated via `apt`
- Add nightly docker (:latest) and deb distribution
- Disable docker builds for every commit on master
- Allow nightly builds to be triggered manually
2021-12-04 13:05:18 +01:00

6 lines
135 B
Bash

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