summaryrefslogblamecommitdiff
path: root/docs/desktop/syncthing.md
blob: aabcd79b255790cfb9efbd039fd9e74e98aea05e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                                                             
# 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)