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 21, 2023
1 parent c5f8fa6 commit 4964a2d
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
Expand Up @@ -124,6 +124,7 @@ case "$1" in
disable_service_if_exists packetfence.service
disable_service_if_exists packetfence-haproxy.service
disable_service_if_exists packetfence-httpd.proxy.service
disable_service_if_exists packetfence-httpd.collector.service
exit 0
;;
abort-upgrade)
Expand Down
1 change: 1 addition & 0 deletions rpm/packetfence.spec
Expand Up @@ -584,6 +584,7 @@ if [ "$1" = "2" ]; then
/usr/bin/systemctl disable packetfence.service
/usr/bin/systemctl disable packetfence-haproxy.service
/usr/bin/systemctl disable packetfence-httpd.proxy.service
/usr/bin/systemctl disable packetfence-httpd.collector.service
/usr/bin/systemctl isolate packetfence-base.target
fi

Expand Down

0 comments on commit 4964a2d

Please sign in to comment.