mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
9 lines
168 B
Bash
Executable File
9 lines
168 B
Bash
Executable File
#!/bin/sh
|
|
|
|
export USERNAME=jb
|
|
export HOME="/home/$USERNAME"
|
|
export SYNCTHING="$HOME/bin/syncthing"
|
|
|
|
exec 2>&1
|
|
exec chpst -u "$USERNAME" "$SYNCTHING" serve --logflags 0
|