summaryrefslogtreecommitdiff
path: root/net/ruby-stompserver/patches/patch-config_stompserver.conf
blob: 4f93455f40943b9e677e6ff595ee07cea9360a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-config_stompserver.conf,v 1.2 2012/08/13 18:43:34 imil Exp $

Decent configuration file with user privileges separation and proper
filesystem locations

--- config/stompserver.conf.orig	2011-03-22 12:52:14.000000000 +0000
+++ config/stompserver.conf
@@ -1,11 +1,14 @@
 ---
-:daemon: false
-:working_dir: /tmp/stompserver
-:storage: .queue
-:queue: file
+:daemon: true
+:working_dir: @STOMPSERVER_WRKDIR@
+:logdir: @STOMPSERVER_LOGDIR@
+:pidfile: @STOMPSERVER_PIDFILE@
+:etcdir: @STOMPSERVER_CFGDIR@
+:storage: @STOMPSERVER_STORAGE@
+:queue: memory
 :auth: false
 :debug: false
-:group:
-:user:
+:group: @STOMPSERVER_GROUP@
+:user: @STOMPSERVER_USER@
 :host: 127.0.0.1
 :port: 61613