Girish Ramakrishnan
b077223e58
fix scope name
2016-06-02 17:49:54 -07:00
Johannes Zellner
d06398dbfd
Move webdav nginx fixes into app endpoint
...
Not sure if this will now still work with oauth proxy though.
2016-06-02 09:49:01 +02:00
Girish Ramakrishnan
dfa08469d6
set timeouts explicitly
2016-06-01 17:33:28 -07:00
Girish Ramakrishnan
d798073d95
fix comment of default_server
2016-06-01 17:28:15 -07:00
Girish Ramakrishnan
41632b8c11
fix favicon of naked domain
2016-06-01 17:27:39 -07:00
Girish Ramakrishnan
eb29bdd575
document keepalive_timeout
2016-06-01 16:51:52 -07:00
Johannes Zellner
47978436c2
Set Destination header for webdav in nginx proxy
2016-06-01 18:49:50 +02:00
Girish Ramakrishnan
76214d3d7a
no variable named infra_version
2016-05-30 19:45:59 -07:00
Girish Ramakrishnan
be83a967fc
node require will not work without json extension
2016-05-30 17:03:56 -07:00
Girish Ramakrishnan
119e095710
actually change ownership
2016-05-30 15:51:52 -07:00
Girish Ramakrishnan
5df3a41988
INFRA_VERSION may not exist
2016-05-30 14:48:41 -07:00
Girish Ramakrishnan
a34b611e20
make INFRA_VERSION writable by yellowtent user
2016-05-30 12:52:39 -07:00
Girish Ramakrishnan
2347a7ced2
admin email is a platform property
2016-05-24 16:36:56 -07:00
Girish Ramakrishnan
12b6c46558
use infra_version.js in splashpage
2016-05-24 13:31:45 -07:00
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