$OpenBSD: patch-netshot_conf,v 1.3 2019/09/12 21:21:25 remi Exp $

Index: netshot.conf
--- netshot.conf.orig
+++ netshot.conf
@@ -1,9 +1,9 @@
 # Netshot Configuration File
 
 # Log file and level
-netshot.log.file = /var/log/netshot/netshot.log
+netshot.log.file = ${VARBASE}/log/netshot/netshot.log
 netshot.log.level = WARN
-netshot.log.audit.file = /var/log/netshot/audit.log
+netshot.log.audit.file = ${VARBASE}/log/netshot/audit.log
 netshot.log.audit.level = INFO
 #netshot.log.syslog1.host = 10.0.16.16
 
@@ -19,7 +19,7 @@ netshot.db.password = netshot
 netshot.db.encryptionpassword = netshot
 
 # REST
-netshot.http.ssl.keystore.file = /usr/local/netshot/netshot.jks
+netshot.http.ssl.keystore.file = ${SYSCONFDIR}/netshot.jks
 netshot.http.ssl.keystore.pass = password
 #netshot.http.baseurl = https://localhost
 netshot.http.baseurl = https://0.0.0.0
@@ -38,12 +38,12 @@ netshot.snapshots.auto.interval = 15
 # Allow a trap received from any IP of a device to trigger an automatic snapshot
 netshot.snapshots.auto.anyip = true
 # After a snapshot, dump the last configuration to a file in this directory
-#netshot.snapshots.dump = /usr/local/netshot/dumps
+#netshot.snapshots.dump = ${VARBASE}/netshot/dumps
 # Where to store the binary snapshot files
-netshot.snapshots.binary.path = /var/local/netshot
+netshot.snapshots.binary.path = ${VARBASE}/netshot
 
 # Where to look for additional drivers
-netshot.drivers.path = /usr/local/netshot/drivers
+netshot.drivers.path = ${PREFIX}/netshot/drivers
 
 
 # Authentication
