Files
rpmbuilder/rpms/stalwart-foundationdb/resources/scripts/preremove.sh
T
unkinben b18e34c905
Build / build-8 (pull_request) Successful in 10s
Build / build-9 (pull_request) Successful in 10s
feat: additional pre-commit checks
- add all precommit checks from pre-commit's hooks repo
- ensure scripts with shebangs are executable
2026-03-07 17:04:48 +11:00

8 lines
248 B
Bash
Executable File

#!/usr/bin/env bash
# Stop and disable the service if it's running
if systemctl is-enabled stalwart-foundationdb.service >/dev/null 2>&1; then
systemctl stop stalwart-foundationdb.service
systemctl disable stalwart-foundationdb.service
fi