Commit Graph

1717 Commits

Author SHA1 Message Date
Petros Aggelatos
309da94028 OCD 2015-10-13 12:58:55 -03:00
Petros Aggelatos
de342a9209 Revamp/rewrite of supervisor as a docker application 2015-10-13 12:58:55 -03:00
Petros Aggelatos
5a071b35c9 Change the name to resin-supervisor 2015-10-13 12:58:55 -03:00
Petros Aggelatos
022b8fe903 http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/ 2015-10-13 12:58:37 -03:00
Petros Angelatos
9791c3e036 Handle forced updates and empty repos 2013-07-23 11:20:47 +01:00
Petros Angelatos
81dc5233da Disable the memory card indicator on the ACT led 2013-07-21 17:09:40 +01:00
Petros Angelatos
b8099372dd Use sudo to build the correct running enviroment for the app 2013-07-21 16:55:17 +01:00
Petros Angelatos
6df6feb5ef Application now emits events on status changes 2013-07-21 15:33:46 +01:00
Petros Angelatos
a2e4bd6634 New API endpoint 2013-07-21 15:20:45 +01:00
Petros Angelatos
6a3b9d45c7 More logging 2013-07-21 14:32:46 +01:00
Petros Angelatos
fff9148a83 Missing arguments in async callback 2013-07-21 14:32:06 +01:00
Petros Angelatos
3c49f64dbc Bug fix: async's callback was called twice 2013-07-21 14:31:14 +01:00
Petros Angelatos
cb434292bf Implemented the update repo endpoint 2013-07-21 02:31:54 +01:00
Petros Angelatos
f5760ffd09 Make sure the led is off after blinking 2013-07-21 02:31:21 +01:00
Petros Angelatos
2525241669 Unused method 2013-07-21 02:30:47 +01:00
Petros Angelatos
b7504843e9 Lots of logging and some bug fixing. Moved client.conf to client.conf.template 2013-07-21 02:30:12 +01:00
Petros Angelatos
eee7df97eb Moved state.json. Conflict with filenames 2013-07-21 02:27:45 +01:00
Petros Aggelatos
309a1d2036 Massive rearchitecture 2013-07-21 03:42:13 +03:00
Spyros Ligouras
331cc4d754 corrected typo in Environment entry 2013-07-20 13:23:32 +03:00
Spyros Ligouras
5f8da8ac16 added Environment & logfile path 2013-07-20 12:47:04 +03:00
Spyros Ligouras
f47a497c7a added user haki to audio group 2013-07-20 12:47:04 +03:00
Petros Angelatos
b62f640a13 changed 'stop' to 'stop-start' for openvpn 2013-07-20 10:44:05 +01:00
Petros Angelatos
999a0361a1 added the express server listening for blink requests 2013-07-20 03:57:51 +01:00
Spyros Ligouras
ca71bff06b prettier output for JSON.stringify 2013-07-19 22:32:36 +03:00
Spyros Ligouras
6390dd714a fixed path typos for HAKI_PATH/hakiapp 2013-07-19 22:29:43 +03:00
Spyros Ligouras
627ecc7888 Wrapped haki user exec() calls into hakiExec, got rid of hakisetEnv 2013-07-19 22:23:56 +03:00
Spyros Ligouras
a4e284fd93 Writing down state after succesfull bootstrappingw 2013-07-19 21:08:32 +03:00
Spyros Ligouras
f6d09c958d set the absolute path of state.json in STATE_FILE 2013-07-19 21:03:42 +03:00
Petros Angelatos
7bb3d4b9eb Added logs and changed exec to spawn 2013-07-19 17:40:18 +01:00
Petros Aggelatos
4587b232fc Moved timeout to the end of tasks. Fixed git pull command 2013-07-19 18:53:13 +03:00
Petros Aggelatos
7940a29057 Better syntax 2013-07-19 17:40:53 +03:00
Spyros Ligouras
f58923a36d saving gitHead to state.json appropriately 2013-07-19 13:08:05 +03:00
Spyros Ligouras
be0058a4a1 changed giturl to gitUrl 2013-07-19 13:06:44 +03:00
Spyros Ligouras
2b391781d2 changed supervisor home to /opt 2013-07-19 12:47:01 +03:00
Spyros Ligouras
822bcc3a72 added proper conditionals for npm install & foreman start 2013-07-19 10:34:34 +03:00
Spyros Ligouras
34d111dec8 added ssh config 2013-07-19 04:22:19 +03:00
Spyros Ligouras
a3517c3516 now using node-posix 2013-07-19 03:45:02 +03:00
Spyros Ligouras
45d31b37c1 Fixed a minor syntax error 2013-07-19 03:33:20 +03:00
Petros Aggelatos
2dc71265ea Fixed everything 2013-07-19 03:10:43 +03:00
Spyros Ligouras
00f121371b initializing the git repo... 2013-07-19 02:31:42 +03:00
Spyros Ligouras
6ef6a77036 added getuid to dependencies 2013-07-19 02:28:48 +03:00
Spyros Ligouras
98891f4ba5 Added stage2 tasks to initialize the user's git repo 2013-07-18 23:34:00 +03:00
Spyros Ligouras
8b2d7289d6 changed 'nodejs' to 'node' 2013-07-18 23:28:46 +03:00
Spyros Ligouras
07af687f38 fixed typo 2013-07-18 16:02:45 +03:00
Spyros Ligouras
08237a4102 set openvpn to tcp 2013-07-18 16:01:48 +03:00
Petros Aggelatos
19142e8450 Typo fix 2013-07-18 14:37:04 +03:00
Petros Aggelatos
b0847cff3f state.json is a local file 2013-07-18 14:35:21 +03:00
Petros Aggelatos
c7245f392d Add request to package.json 2013-07-18 14:34:45 +03:00
Petros Aggelatos
1cfb90a122 Add async to package.json 2013-07-18 14:31:40 +03:00
Spyros Ligouras
a49b617896 added openvpn client.conf initialization 2013-07-18 14:31:09 +03:00