Restart after removing a syncthing user
This commit is contained in:
parent
8ea00a278e
commit
584018797a
|
@ -61,6 +61,7 @@ function remove_user_syncthing {
|
||||||
remove_username="$1"
|
remove_username="$1"
|
||||||
|
|
||||||
sed -i "/<folder id=\"${remove_username}\" /,/</folder>/d" $SYNCTHING_CONFIG_FILE
|
sed -i "/<folder id=\"${remove_username}\" /,/</folder>/d" $SYNCTHING_CONFIG_FILE
|
||||||
|
systemctl restart syncthing
|
||||||
}
|
}
|
||||||
|
|
||||||
function new_syncthing_id {
|
function new_syncthing_id {
|
||||||
|
|
Loading…
Reference in New Issue