Skip to content

Commit

Permalink
disable packetfence-collector
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed Jun 20, 2023
1 parent 02b3a37 commit dbd066f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions debian/packetfence.preinst
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ case "$1" in
disable_service_if_exists packetfence-config.service
disable_service_if_exists packetfence.service
disable_service_if_exists packetfence-haproxy.service
disable_service_if_exists packetfence-collector.service
exit 0
;;
abort-upgrade)
Expand Down
1 change: 1 addition & 0 deletions rpm/packetfence.spec
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,7 @@ if [ "$1" = "2" ]; then
/usr/bin/systemctl disable packetfence-config
/usr/bin/systemctl disable packetfence.service
/usr/bin/systemctl disable packetfence-haproxy.service
/usr/bin/systemctl disable packetfence-collector.service
/usr/bin/systemctl isolate packetfence-base.target
fi

Expand Down

0 comments on commit dbd066f

Please sign in to comment.