diff options
author | joshua <joshua@joshuayun.com> | 2024-01-03 02:10:09 -0500 |
---|---|---|
committer | joshua <joshua@joshuayun.com> | 2024-01-03 02:10:09 -0500 |
commit | 4f5c398c39a69c47f059e2e39ee4e04218c3850e (patch) | |
tree | ad0830c65b33866c7bb4cf6d3f09af824bd2b731 /docs/desktop | |
parent | 0bff0099d6a5c73c8e918f5378bfa6cad3912983 (diff) | |
download | wiki-4f5c398c39a69c47f059e2e39ee4e04218c3850e.tar.gz |
Added syncthing desktop setup article to wiki
Diffstat (limited to 'docs/desktop')
-rw-r--r-- | docs/desktop/desktop.md | 2 | ||||
-rw-r--r-- | docs/desktop/syncthing.md | 16 |
2 files changed, 18 insertions, 0 deletions
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) |