mirror of
https://github.com/samply/bridgehead.git
synced 2026-07-17 08:20:10 +02:00
Don't use wildcard in sudoers to support sudo-rs (#392)
This commit is contained in:
@@ -98,7 +98,7 @@ if [ $git_updated = "true" ] || [ $docker_updated = "true" ]; then
|
||||
RES="Updates detected, now restarting bridgehead:\n$CHANGES"
|
||||
log "INFO" "$RES"
|
||||
hc_send log "$RES"
|
||||
sudo /bin/systemctl restart bridgehead@*.service
|
||||
sudo /bin/systemctl restart bridgehead@${PROJECT}.service
|
||||
else
|
||||
RES="Nothing updated, nothing to restart."
|
||||
log "INFO" "$RES"
|
||||
|
||||
Reference in New Issue
Block a user