Files
vctp2/src/preremove.sh
Nathan Coad 3ceba1a117
Some checks failed
continuous-integration/drone/push Build was killed
add rpm generation code
2026-01-13 20:09:19 +11:00

9 lines
182 B
Bash

#!/bin/bash
if command -v systemctl >/dev/null 2>&1; then
if [ "$1" -eq 0 ]; then
systemctl stop vctp.service || :
systemctl disable vctp.service || :
fi
fi