mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-17 10:35:11 +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
|