mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +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
|
|
|