openbsd-ports/audio/umurmur/patches/patch-umurmur_conf_example
feinerer 43694c8d6d Update to uMurmur 0.2.17
From maintainer Jonathon Sisson, tweaks by sthen@ and me
2019-07-24 12:47:13 +00:00

27 lines
1005 B
Plaintext

$OpenBSD: patch-umurmur_conf_example,v 1.5 2019/07/24 12:47:13 feinerer Exp $
Index: umurmur.conf.example
--- umurmur.conf.example.orig
+++ umurmur.conf.example
@@ -1,7 +1,7 @@
max_bandwidth = 48000;
welcometext = "Welcome to uMurmur!";
-certificate = "/etc/umurmur/cert.crt";
-private_key = "/etc/umurmur/key.key";
+certificate = "${SYSCONFDIR}/umurmur/certificate.crt";
+private_key = "${SYSCONFDIR}/umurmur/private_key.key";
password = "";
# admin_password = "test"; # Set to enable admin functionality.
# ban_length = 0; # Length in seconds for a ban. Default is 0. 0 = forever.
@@ -18,9 +18,9 @@ max_users = 10;
# username and groupname for privilege dropping.
# Will attempt to switch user if set.
-# username = "";
+username = "_umurmur";
# If groupname not set the user's default login group will be used
-# groupname = "";
+groupname = "_umurmur";
# Log to file option. Default is logging to syslog.
# umurmurd will close and reopen the logfile if SIGHUP is received.