cyrus-sasl/cyrus-sasl.install
2024-05-12 17:57:30 +08:00

25 lines
532 B
Plaintext

# This is a default template for a post-install scriptlet.
# Uncomment only required functions and remove any functions
# you don't need (and this header).
post_install() {
systemd-tmpfiles --create saslauthd.conf
systemctl enable saslauthd.service
}
pre_upgrade() {
systemctl stop saslauthd.service
systemctl disable saslauthd.service
}
post_upgrade() {
systemd-tmpfiles --create saslauthd.conf
systemctl enable saslauthd.service
}
pre_remove() {
systemctl stop saslauthd.service
systemctl disable saslauthd.service
}