Girish Ramakrishnan
27d2daae93
leave a note in nginx config
2016-05-19 12:27:54 -07:00
Girish Ramakrishnan
0e655cadb0
generate dkim keys before dns setup
...
Two things require DKIM keys
1. the mail addon
2. the DNS TXT record
2016-05-05 21:15:10 -07:00
Girish Ramakrishnan
496e1c3dc1
fix path to INFRA_VERSION
2016-05-05 18:37:17 -07:00
Girish Ramakrishnan
b4c15b1719
Let the box code initialize the infrastructure
...
This is done because:
1. The box code can install certs for addons (like mail addon) when
required.
2. The box code initialize/teardown addons on demand. This is not planned
currently.
2016-05-04 15:54:21 -07:00
Girish Ramakrishnan
12820db4a5
fix typo in mysql config
2016-04-29 20:20:52 -07:00
Girish Ramakrishnan
4a04e0b52f
use recommendation from raymii.org
2016-04-28 09:59:03 -07:00
Girish Ramakrishnan
3da82e3a63
rename to crashnotifierservice
2016-04-19 16:45:05 -07:00
Girish Ramakrishnan
91a016ee91
Change the admin email to no-reply
2016-04-14 19:56:54 -07:00
Girish Ramakrishnan
8256f97e9d
use latest mail image
2016-04-14 19:37:34 -07:00
Girish Ramakrishnan
9f443e2d07
should ideally use shutdown commands at some point (for mongodb)
2016-04-13 20:53:07 -07:00
Girish Ramakrishnan
0a30585a05
bump mongodb (handles mongod crash recovery)
2016-04-13 20:35:20 -07:00
Girish Ramakrishnan
8db76f6b70
backup swap is not required anymore
2016-04-10 20:55:59 -07:00
Girish Ramakrishnan
60cc4c988f
bump mysql addon
2016-04-09 02:34:54 -07:00
Girish Ramakrishnan
68219748ec
oops, bump postgresql
2016-04-09 01:07:46 -07:00
Girish Ramakrishnan
96d625b866
bump the postgresql addon (required for gitlab)
2016-04-08 23:46:39 -07:00
Girish Ramakrishnan
db19df9395
Bump infra version to force app reconfigure
...
Required for collectd profiles to be regenerated
2016-04-05 17:36:30 -07:00
Girish Ramakrishnan
21e8bc1ce5
javascript much
2016-04-05 12:06:15 -07:00
Girish Ramakrishnan
13020be6e6
default app bundle to null, if absent
2016-04-05 12:00:33 -07:00
Girish Ramakrishnan
553509c462
implement installation of app bundle
2016-04-04 23:03:13 -07:00
Girish Ramakrishnan
091e424c0e
Fix description
2016-03-19 13:37:58 -07:00
Girish Ramakrishnan
5fbd1dae30
bump the mysql memory limit
...
we hit this memory limit often in phabricator backup. this is all
very crude but should suffice for now.
2016-03-05 18:35:28 -08:00
girish@cloudron.io
2112494b43
bump mysql image version
2016-02-13 03:26:29 -08:00
girish@cloudron.io
16d976a145
use multidb version of mysql addon
2016-02-02 08:46:09 -08:00
girish@cloudron.io
8170b490f2
add retire.sh
...
this is a sudo script that retires the box
2016-01-26 09:37:25 -08:00
girish@cloudron.io
ce0a24a95d
comment out public graphite paths
2016-01-25 12:51:37 -08:00
Johannes Zellner
63c06a508e
Make /api available on just the IP
...
We might want to also show something else than
the naked domain placeholder page when just
accessing the ip
2016-01-24 12:08:10 +01:00
Girish Ramakrishnan
8ad190fa83
make updateConfig a provision argument
2016-01-23 10:15:09 -08:00
girish@cloudron.io
10f74349ca
collectd: disable vmem plugin
2016-01-22 15:44:46 -08:00
girish@cloudron.io
05a771c365
collectd: disable process plugin
2016-01-22 15:43:47 -08:00
girish@cloudron.io
cfa2089d7b
collectd: Remove ping metric
2016-01-22 15:36:13 -08:00
girish@cloudron.io
9706daf330
Just track ext4 and btrfs file systems
2016-01-22 14:33:02 -08:00
girish@cloudron.io
4aead483de
This hack is not needed in 15.10 anymore
...
collectd is still same version in 15.10 but it collects info correctly
as df-vda1 now.
2016-01-22 14:00:40 -08:00
Girish Ramakrishnan
bb88fa3620
Restart node processes if journald crashes
...
Note that we cannot simply ignore EPIPE in the node programs.
Doing so results in no logs anymore :-( This is supposedly
fixed in systemd 228.
Fixes #550
2016-01-21 22:13:19 -08:00
girish@cloudron.io
bcb0e61bfc
Kill child processes
...
On Unix, child processes are not killed when parent dies.
Each process is part of a process group (pgid). When pgid == pid,
it is the process group leader.
node creates child processes with the parent as the group leader
(detached = false).
You can send a signal to entire group using kill(-pgid), as in,
negative value in argument. Systemd can be made to do this by
setting the KillMode=control-group.
Unrelated: Process groups reside inside session groups. Each session
group has a controlling terminal. Only one process in the session
group has access to the terminal. Process group is basically like
a bash pipeline. A session group is the entire login session with only
one process having terminal access at a time.
Fixes #543
2016-01-21 17:44:17 -08:00
girish@cloudron.io
6dc11edafe
make exec route more debugging friedly
...
allow upto 30 minutes of idle connection
2016-01-18 12:49:06 -08:00
Johannes Zellner
d7ddc56ab3
Not applicable for ubuntu 15.10
2016-01-11 11:15:04 +01:00
Girish Ramakrishnan
ba90490ad9
Simply remove the old sudoers file that we installed
...
This is alternate fix to 743b8e757b
2016-01-05 20:24:05 -08:00
Johannes Zellner
59997560eb
Do not remove all files from /etc/sudoers.d/
...
On DO with caas, there are no other files initially, but
on the ec2 ubuntu images, the files have set the rules for the
ubuntu user to be able to sudo without password, which we want to
keep
2016-01-05 17:06:01 +01:00
Johannes Zellner
026e71cc6e
Default provider is caas
2016-01-05 15:58:16 +01:00
Johannes Zellner
9483c3afbc
Also support /dev/xvda1 with collectd, needed for ec2
2016-01-04 17:26:02 +01:00
Johannes Zellner
1edddf79d2
token is not yet required for provisioning anymore
2015-12-29 19:47:13 +01:00
Johannes Zellner
3a4ec5c86a
The var is named
2015-12-29 12:25:22 +01:00
Johannes Zellner
ebf1cfc113
Read provider field from cloudron.conf
2015-12-29 11:29:08 +01:00
Girish Ramakrishnan
87f5e3f102
workaround journalctl logging bug
2015-12-22 13:05:00 -08:00
Girish Ramakrishnan
4bd88e1220
create acme data dir
2015-12-15 00:21:29 -08:00
Girish Ramakrishnan
abc4975b3d
add tls configuration to database
2015-12-12 15:40:33 -08:00
Girish Ramakrishnan
36d81ff8d1
do not write tls config in this version
2015-12-12 14:21:50 -08:00
Girish Ramakrishnan
f32027e15b
Try alternative configuration for systemd restart rate limit
2015-12-12 13:15:41 -08:00
Girish Ramakrishnan
4b6a92955b
configure to get only 1 email every 10 minutes
2015-12-12 11:47:32 -08:00
Girish Ramakrishnan
35a2da744c
fix typo
2015-12-11 23:29:07 -08:00