spec/sample_config.rb in spool-0.0.1 vs spec/sample_config.rb in spool-0.1.1
- old
+ new
@@ -1,6 +1,12 @@
+name 'Process pool'
processes 10
env VAR_1: 1, VAR_2: 2
dir '/tmp'
command 'tailf file.log'
-pidfile '/tailf.pid'
+pid_file '/tailf.pid'
restart_when { |p| p.memory > 512 }
+stop_signal 'TERM'
+kill_signal 'INT'
+log_file 'test.log'
+log_level 'INFO'
+log_formatter { |s,d,p,m| "#{s},#{d},#{p},#{m}" }
\ No newline at end of file