b18e34c905
- add all precommit checks from pre-commit's hooks repo - ensure scripts with shebangs are executable
8 lines
248 B
Bash
Executable File
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
|