overte-lubosz/tools/ci-scripts/linux-package-release/before-remove.sh
2019-07-12 14:03:09 -07:00

6 lines
127 B
Bash
Executable file

#!/bin/bash
if systemctl is-active <%= service %>
then
# Stop service that is running
systemctl stop <%= service %>
fi