$NetBSD: patch-server_etc_snapserver.conf,v 1.3 2025/09/30 06:49:37 adam Exp $ Don't hardcode various paths, allow pkgsrc to substitute them. --- server/etc/snapserver.conf.orig 2025-09-29 07:26:16.175169946 +0000 +++ server/etc/snapserver.conf @@ -30,7 +30,7 @@ #threads = -1 # the pid file when running as daemon (-d or --daemon) -#pidfile = /var/run/snapserver/pid +#pidfile = @VARBASE@/run/snapserver/pid # the user to run as when daemonized (-d or --daemon) #user = snapserver @@ -39,7 +39,7 @@ # directory where persistent data is stored (server.json) # if empty, data dir will be -# - "/var/lib/snapserver/" when running as daemon +# - "@VARBASE@/lib/snapserver/" when running as daemon # - "$HOME/.config/snapserver/" when not running as daemon #datadir = @@ -190,10 +190,10 @@ doc_root = @PREFIX@/share/snapserver/sna source = pipe:///tmp/snapfifo?name=default # Plugin directory, containing scripts, referred by "controlscript" -#plugin_dir = /usr/share/snapserver/plug-ins +#plugin_dir = @PREFIX@/share/snapserver/plug-ins # Sandbox directory, containing executables, started by "process" and "librespot" streams -#sandbox_dir = /usr/share/snapserver/sandbox +#sandbox_dir = @PREFIX@/share/snapserver/sandbox # Default sample format: :: #sampleformat = 48000:16:2