mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
10 lines
162 B
Bash
Executable File
10 lines
162 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" -logflags 0
|
|
|