소스 검색

systemd reload

Bob Mottram 10 년 전
부모
커밋
89a8e6e164
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 파일 보기

@@ -8595,6 +8595,7 @@ function create_upgrade_script {
8595 8595
       echo 'GOPATH=/home/git/go' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8596 8596
       echo 'go build' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8597 8597
       echo 'systemctl restart gogs' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8598
+      echo 'systemctl daemon-reload' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8598 8599
   fi
8599 8600
 
8600 8601
   echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME