소스 검색

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
 }