Resolve "Dependent Service Restart Handling"

This commit is contained in:
Steven Foerster
2021-04-27 02:31:55 +00:00
parent 6fe1abc57f
commit b9b0eebf1e
15 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -23,14 +23,14 @@ import secrets
import random
import string
random_pass = ([secrets.choice("@$!%*?-_"),
random_pass = ([secrets.choice("@$!*?-_"),
secrets.choice(string.digits),
secrets.choice(string.ascii_lowercase),
secrets.choice(string.ascii_uppercase),
]
+ [secrets.choice(string.ascii_lowercase
+ string.ascii_uppercase
+ "@$!%*?-_"
+ "@$!*?-_"
+ string.digits) for i in range(12)])
random.shuffle(random_pass)
+1 -1
View File
@@ -6,7 +6,7 @@ figlet "Mistborn: Configuring Firewall"
echo "stop iptables wrappers"
if [ "$DISTRO" == "ubuntu" ]; then
# Disable UFW
echo "Disabling UFW"
sudo systemctl stop ufw || true
sudo systemctl disable ufw || true
fi