소스 검색

Restart after removing a syncthing user

Bob Mottram 9 년 전
부모
커밋
584018797a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone-syncthing

+ 1
- 0
src/freedombone-syncthing 파일 보기

61
     remove_username="$1"
61
     remove_username="$1"
62
 
62
 
63
     sed -i "/<folder id=\"${remove_username}\" /,/</folder>/d" $SYNCTHING_CONFIG_FILE
63
     sed -i "/<folder id=\"${remove_username}\" /,/</folder>/d" $SYNCTHING_CONFIG_FILE
64
+    systemctl restart syncthing
64
 }
65
 }
65
 
66
 
66
 function new_syncthing_id {
67
 function new_syncthing_id {