summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2018-09-21 14:39:07 +0200
committerHarald Eilertsen <haraldei@anduin.net>2018-09-21 14:39:07 +0200
commit8e13e19461e7fae0037a17378a3e4732ed131e21 (patch)
tree5be8fd16cbe17535411a0b01885da54a895dd123 /config
parentddff5b8afe18442ebea1e67bd6f77310b5bf9f0f (diff)
downloadnorsk-urskog-registrations-master.tar.gz
norsk-urskog-registrations-master.tar.bz2
norsk-urskog-registrations-master.zip
Add license header to source files.HEADmaster
Diffstat (limited to 'config')
-rw-r--r--config/deploy.rb16
-rw-r--r--config/deploy/production.rb16
-rw-r--r--config/deploy/staging.rb16
-rw-r--r--config/puma.rb16
4 files changed, 64 insertions, 0 deletions
diff --git a/config/deploy.rb b/config/deploy.rb
index 8240df3..702960b 100644
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@ -1,3 +1,19 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
# config valid only for current version of Capistrano
lock '3.11.0'
diff --git a/config/deploy/production.rb b/config/deploy/production.rb
index d9620a1..9e5b250 100644
--- a/config/deploy/production.rb
+++ b/config/deploy/production.rb
@@ -1 +1,17 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
server 'volse.anduin.net', user: 'norskurskog', roles: %w{app db web}
diff --git a/config/deploy/staging.rb b/config/deploy/staging.rb
index 20732be..c8f4101 100644
--- a/config/deploy/staging.rb
+++ b/config/deploy/staging.rb
@@ -1,3 +1,19 @@
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
server 'volse.local', user: 'norskurskog', roles: %w{app db web}
# Ask for which branch to deploy, default is current branch.
diff --git a/config/puma.rb b/config/puma.rb
index 04856d0..efe7b9b 100644
--- a/config/puma.rb
+++ b/config/puma.rb
@@ -1,5 +1,21 @@
#!/usr/bin/env puma
+# Band registration form for Norsk Urskog Metal Sampler
+# Copyright (C) 2015-2018 Harald Eilersen <haraldei@anduin.net>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
if @config.environment_str == "production"
root = File.expand_path('../', File.dirname(__FILE__))
socket = "unix://#{root}/tmp/sockets/puma.sock"