Restart after removing a syncthing user

This commit is contained in:
Bob Mottram 2016-11-02 20:02:49 +00:00
parent 8ea00a278e
commit 584018797a
1 changed files with 1 additions and 0 deletions

View File

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