This commit is contained in:
8
src/preremove.sh
Normal file
8
src/preremove.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user