mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- avoid flushing the firewall rules upon install by using pf anchors - restart service after upgrade if it was running before PR: 261304 MFH: 2022Q1
9 lines
182 B
Bash
9 lines
182 B
Bash
#!/bin/sh
|
|
|
|
case $2 in
|
|
"DEINSTALL")
|
|
service crowdsec status && touch /var/run/crowdsec.running
|
|
service crowdsec stop || :
|
|
;;
|
|
esac
|
|
|