Logo
Explore Help
Sign In
perso/syncthing-arm
1
0
Fork 0
You've already forked syncthing-arm
Code Issues Pull Requests Releases Wiki Activity
syncthing-arm/etc/linux-runit/run

9 lines
174 B
Plaintext
Raw Normal View History

Add example for runit service
2014-11-24 13:48:42 +01:00
#!/bin/sh
export USERNAME=jb
export HOME="/home/$USERNAME"
export SYNCTHING="$HOME/bin/syncthing"
Use chpst instead of djb name setuidgid Some distros (Ubuntu, Debian?) don't link `chpst` to `setuidgid`, as it could conflict with djb daemontools installation. If daemontools isn't going to be referenced in the README, then the example runit config should reference the runit packaged utility.
2015-03-08 18:50:54 -05:00
chpst -u "$USERNAME" "$SYNCTHING" -logflags 0 2>&1 | logger -t syncthing
Add example for runit service
2014-11-24 13:48:42 +01:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 199ms Template repo/home: 31ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API