fingercap 0.4 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/fingercap/configurations/recorder.rb +16 -0
- metadata +3 -2
|
@@ -184,6 +184,22 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
184
184
|
update
|
|
185
185
|
configure.install_gems
|
|
186
186
|
end
|
|
187
|
+
|
|
188
|
+
desc "Set the server into maintenance mode"
|
|
189
|
+
task :start_maintenance do
|
|
190
|
+
sudo "a2enmod rewrite"
|
|
191
|
+
sudo "a2dissite storage mobile device"
|
|
192
|
+
sudo "a2ensite maintenance"
|
|
193
|
+
sudo "/etc/init.d/apache2 reload"
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
desc "Take the server out of maintenance mode"
|
|
197
|
+
task :stop_maintenance do
|
|
198
|
+
sudo "a2dismod rewrite"
|
|
199
|
+
sudo "a2dissite maintenance"
|
|
200
|
+
sudo "a2ensite storage mobile device"
|
|
201
|
+
sudo "/etc/init.d/apache2 reload"
|
|
202
|
+
end
|
|
187
203
|
end
|
|
188
204
|
|
|
189
205
|
after 'deploy:symlink', 'configure:symlink_persistant_directories'
|
metadata
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fingercap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 13
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 4
|
|
9
|
-
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.4.1
|
|
10
11
|
platform: ruby
|
|
11
12
|
authors:
|
|
12
13
|
- Manfred Stienstra
|