瀏覽代碼

restart irc server after password change

Bob Mottram 9 年之前
父節點
當前提交
9c61a88314
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      src/freedombone-controlpanel

+ 1
- 0
src/freedombone-controlpanel 查看文件

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