Files
Snips/Snips/dpkg/prerm
T
2019-05-31 16:57:08 +02:00

7 lines
146 B
Bash

#!/bin/bash
if [[ $(systemctl is-active snipsbot || true) == "active" ]]
then
touch /tmp/snipsbot_service_runner
service snipsbot stop
fi