Przeglądaj źródła

Restart after removing a syncthing user

Bob Mottram 8 lat temu
rodzic
commit
584018797a
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1
    0
      src/freedombone-syncthing

+ 1
- 0
src/freedombone-syncthing Wyświetl plik

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