summaryrefslogtreecommitdiff
path: root/lib/oxidized/config.rb
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-05-25 13:18:45 +0300
committerytti <saku@ytti.fi>2016-05-25 13:18:45 +0300
commit65273f736ce059fbb3785e251f65a3f84b387ef1 (patch)
treef421c36b1cd4ab4ff77b3ac95c147556f26cee1c /lib/oxidized/config.rb
parent5c6904020c57a6904c09276ba3ab4a4cda8550b2 (diff)
parent511508b9e2768e116978fc8e973d34afb1d999ab (diff)
Merge pull request #435 from roedie/config-pid
Support setting pidfile location
Diffstat (limited to 'lib/oxidized/config.rb')
-rw-r--r--lib/oxidized/config.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb
index 7884625..1797be6 100644
--- a/lib/oxidized/config.rb
+++ b/lib/oxidized/config.rb
@@ -30,6 +30,7 @@ module Oxidized
asetus.default.rest = '127.0.0.1:8888' # or false to disable
asetus.default.vars = {} # could be 'enable'=>'enablePW'
asetus.default.groups = {} # group level configuration
+ asetus.default.pid = File.join(Oxidized::Config::Root, 'pid')
asetus.default.input.default = 'ssh, telnet'
asetus.default.input.debug = false # or String for session log file