add sub command: add-service-rule

This commit is contained in:
Chai Feng 2018-10-05 16:25:44 +08:00
parent b0aa7318da
commit 8556bb7687
No known key found for this signature in database
GPG key ID: 2DCD9A24E523FFD2
2 changed files with 26 additions and 7 deletions

View file

@ -78,7 +78,7 @@ function main() {
done
sleep 60; exit 1
;;
delete|allow)
delete|allow|add-service-rule)
ufw-docker "$@"
;;
update-ufw-rules)