le1t0-deprec 2.1.6.049 → 2.1.6.050
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/lib/deprec/recipes/syslog/syslog_ng.rb +4 -4
- metadata +2 -2
data/CHANGELOG
CHANGED
@@ -161,24 +161,24 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
161
161
|
end
|
162
162
|
|
163
163
|
desc "Push Syslog-ng config files to server"
|
164
|
-
task :config
|
164
|
+
task :config do
|
165
165
|
deprec2.push_configs(:syslog_ng, SYSTEM_CONFIG_FILES[:syslog_ng])
|
166
166
|
deprec2.push_configs(:syslog, SYSTEM_CONFIG_FILES[:syslog])
|
167
167
|
restart
|
168
168
|
end
|
169
169
|
|
170
170
|
desc "Start Syslog-ng"
|
171
|
-
task :start
|
171
|
+
task :start do
|
172
172
|
run "#{sudo} /etc/init.d/syslog-ng start"
|
173
173
|
end
|
174
174
|
|
175
175
|
desc "Stop Syslog-ng"
|
176
|
-
task :stop
|
176
|
+
task :stop do
|
177
177
|
run "#{sudo} /etc/init.d/syslog-ng stop"
|
178
178
|
end
|
179
179
|
|
180
180
|
desc "Restart Syslog-ng"
|
181
|
-
task :restart
|
181
|
+
task :restart do
|
182
182
|
run "#{sudo} /etc/init.d/syslog-ng restart"
|
183
183
|
end
|
184
184
|
|