blob: aabcd79b255790cfb9efbd039fd9e74e98aea05e (
plain) (
tree)
|
|
# Syncthing using Runit and Artix Linux
The default Artix Linux syncthing script is broken, here is a corrected version that works:
#!/bin/sh
export USER="joshua"
export HOME="/home/joshua"
groups="$(id -Gn "$USER" | tr ' ' ':')"
exec 2>&1
exec chpst -u "$USER:groups" syncthing -logflags 0
References:
[Void Linux Per User Services](https://docs.voidlinux.org/config/services/user-services.html)
|