mirror of
https://github.com/samply/bridgehead.git
synced 2025-12-15 04:57:32 +01:00
Update install scripts and prereqs (sudo)
This commit is contained in:
@@ -16,6 +16,10 @@ export PROJECT=$1
|
||||
|
||||
#checkRequirements // not needed when uninstalling
|
||||
|
||||
log INFO "Removing bridgehead sudoers permissions."
|
||||
|
||||
rm -vf /etc/sudoers.d/bridgehead-${PROJECT}
|
||||
|
||||
log "INFO" "Stopping system units and removing bridgehead for ${PROJECT} ..."
|
||||
|
||||
systemctl disable --now bridgehead@${PROJECT}.service bridgehead-update@${PROJECT}.timer bridgehead-update@${PROJECT}.service
|
||||
|
||||
Reference in New Issue
Block a user