restart irc server after password change

This commit is contained in:
Bob Mottram 2016-04-05 09:10:42 +01:00
parent 88e50a2099
commit 9c61a88314
1 changed files with 1 additions and 0 deletions

View File

@ -644,6 +644,7 @@ function irc_set_global_password {
sed -i "0,/RE/s/Password =.*/Password =$NEW_IRC_PASSWORD/" /etc/ngircd/ngircd.conf
dialog --title $"IRC Password" \
--msgbox $"The IRC password was changed" 6 40
systemctl restart ngircd
;;
esac
}