8 lines
254 B
Bash
Executable File
8 lines
254 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
|
|
# Package removal, not upgrade
|
|
systemctl --no-reload disable certmanagerd.service > /dev/null 2>&1 || :
|
|
systemctl stop certmanagerd.service > /dev/null 2>&1 || :
|
|
fi
|