浏览代码

Use start rather than restart

Bob Mottram 10 年前
父节点
当前提交
f175a8b988
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3
    3
      install-freedombone.sh

+ 3
- 3
install-freedombone.sh 查看文件

@@ -3452,7 +3452,7 @@ function install_irc_server {
3452 3452
   sed -i 's/;RequireAuthPing = no/RequireAuthPing = no/g' /etc/ngircd/ngircd.conf
3453 3453
   sed -i "s/;Name = TheOper/Name = $MY_USERNAME/g" /etc/ngircd/ngircd.conf
3454 3454
   sed -i "s/;Password = ThePwd/Password = $IRC_OPERATOR_PASSWORD/g" /etc/ngircd/ngircd.conf
3455
-  service ngircd restart
3455
+  service ngircd start
3456 3456
 
3457 3457
   if ! grep -q "IRC Server" /home/$MY_USERNAME/README; then
3458 3458
       echo '' >> /home/$MY_USERNAME/README
@@ -3531,10 +3531,10 @@ function install_wiki {
3531 3531
   fi
3532 3532
 
3533 3533
   if ! grep -q "authtype" /var/lib/dokuwiki/custom/local.php; then
3534
-      echo "$conf['authtype'] = 'plain';" >> /var/lib/dokuwiki/custom/local.php
3534
+      echo "$conf['authtype'] = 'authplain';" >> /var/lib/dokuwiki/custom/local.php
3535 3535
   fi
3536 3536
   if ! grep -q "authtype" /etc/dokuwiki/local.php; then
3537
-      echo "$conf['authtype'] = 'plain';" >> /etc/dokuwiki/local.php
3537
+      echo "$conf['authtype'] = 'authplain';" >> /etc/dokuwiki/local.php
3538 3538
   fi
3539 3539
 
3540 3540
   get_wiki_admin_password