Commit Graph

58 Commits

Author SHA1 Message Date
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
Spyros Ligouras
095bcb070d added vpn host & port definition to boostraping tasks 2013-07-18 14:24:47 +03:00
Spyros Ligouras
d46f471571 deleted supervisor.coffee 2013-07-18 14:08:23 +03:00
Spyros Ligouras
84e0273e8a added bootstrap and stage1 procedures 2013-07-18 14:07:39 +03:00
Spyros Ligouras
6effb8b053 Supervisor wrapper 2013-07-18 13:40:35 +03:00
Petros Aggelatos
422f5f5c0b Supervisor 2013-07-18 13:20:27 +03:00
Spyros Ligouras
5f2e80ea76 added fstab configuration 2013-07-17 18:02:18 +03:00
Spyros Ligouras
37ca7d17e5 corrected chown args for repo directory 2013-07-17 16:40:41 +03:00
Petros Aggelatos
c8719e8116 Execute permission for supervisor.js 2013-07-17 16:40:11 +03:00
Spyros Ligouras
af65daac9c added --force to haki.service symlink 2013-07-17 16:31:50 +03:00