From 4f5c398c39a69c47f059e2e39ee4e04218c3850e Mon Sep 17 00:00:00 2001 From: joshua Date: Wed, 3 Jan 2024 02:10:09 -0500 Subject: Added syncthing desktop setup article to wiki --- docs/desktop/desktop.md | 2 ++ docs/desktop/syncthing.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 docs/desktop/syncthing.md (limited to 'docs') diff --git a/docs/desktop/desktop.md b/docs/desktop/desktop.md index 39cebeb..efd86b0 100644 --- a/docs/desktop/desktop.md +++ b/docs/desktop/desktop.md @@ -3,3 +3,5 @@ This page describes several useful tips and configurations that I've used. [Thunderbird](thunderbird.md) + +[Syncthing on Artix](syncthing.md) diff --git a/docs/desktop/syncthing.md b/docs/desktop/syncthing.md new file mode 100644 index 0000000..aabcd79 --- /dev/null +++ b/docs/desktop/syncthing.md @@ -0,0 +1,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) -- cgit v1.2.3