Commit Graph

140 Commits

Author SHA1 Message Date
AJ ONeal 4b168225f0 update template vars 2018-06-28 01:18:02 -06:00
AJ ONeal b1b5e32525 correctly pass error on failure to launch 2018-06-28 00:44:41 -06:00
AJ ONeal b3b44cdd33 update some templates and fix some bugs 2018-06-27 22:58:43 -06:00
AJ ONeal 172eaea877 update to npm launcher 2018-06-27 21:35:14 -06:00
AJ ONeal 5eb4cdefb7 node-based install launcher tested on macOS 2018-06-27 04:24:56 -06:00
AJ ONeal d85682ff7f WIP make installable from npm 2018-06-27 03:21:44 -06:00
AJ ONeal e8b3ae59c8 omit limits for now 2018-06-26 23:47:06 -06:00
AJ ONeal 7406fad9e3 don't page systemctl status output 2018-06-26 01:24:12 -06:00
AJ ONeal b89c07276f correct .config paths 2018-06-26 01:20:54 -06:00
AJ ONeal 800a3b4abc check status 2018-06-26 01:12:53 -06:00
AJ ONeal 1b1082910e remove systemd options which are not valid for user, remove pre-templated files 2018-06-26 01:02:48 -06:00
AJ ONeal 107f021b13 remove user systemd tmp dir services 2018-06-26 00:29:53 -06:00
AJ ONeal 489c953d0b note su issues 2018-06-26 00:26:58 -06:00
AJ ONeal c0f592b78c use $HOME, not ~ 2018-06-26 00:13:12 -06:00
AJ ONeal d6780b7295 hide node installer info, mkdir for user systemd 2018-06-25 23:58:46 -06:00
AJ ONeal 55ccf9347d show node install info 2018-06-25 23:51:46 -06:00
AJ ONeal cea6738319 add preliminary user systemd support 2018-06-25 23:37:51 -06:00
AJ ONeal c55a348e4a echo typo fix 2018-06-24 02:45:32 -06:00
AJ ONeal 2e4422e5b8 pull service file from skel 2018-06-24 02:44:24 -06:00
AJ ONeal 83d4df0762 no sudo on osx 2018-06-24 02:36:09 -06:00
AJ ONeal fa29aa3faf proper TELEBIT_CONFIG vars 2018-06-24 02:16:04 -06:00
AJ ONeal b2288e27c0 template unprivileged launcher 2018-06-24 01:18:59 -06:00
AJ ONeal 6137b1c0a8 add unprivileged LaunchAgent 2018-06-24 01:17:36 -06:00
AJ ONeal ae5313f39b use different variables for different scopes, duh 2018-06-23 23:37:49 -06:00
AJ ONeal 9968aad7a6 turn on debugging for a minute 2018-06-23 23:19:11 -06:00
AJ ONeal 39776e2d63 template system launcher, correct user and group 2018-06-23 19:19:12 -06:00
AJ ONeal 054c6a334a template launcher in node 2018-06-23 18:50:13 -06:00
AJ ONeal 76ae6cc501 mktemp -d first 2018-06-23 18:35:33 -06:00
AJ ONeal be13f167bd fix unbound var 2018-06-23 17:39:58 -06:00
AJ ONeal 472afaa2e7 avoid sudo 2018-06-23 17:38:57 -06:00
AJ ONeal 7da7e4f07e use pathname not path, update token state 2018-06-13 13:38:59 -06:00
AJ ONeal f17619efd2 output and whitespace 2018-06-13 13:12:38 -06:00
AJ ONeal 4bec2d1fa2 whitespace 2018-06-13 13:03:06 -06:00
AJ ONeal d0409417e2 whitespace 2018-06-13 13:01:43 -06:00
AJ ONeal 2b63d77dc9 whitespace 2018-06-13 12:59:44 -06:00
AJ ONeal ab405c586d stop tar file output 2018-06-13 12:57:35 -06:00
AJ ONeal 35bd82c04b remove output about symlink 2018-06-13 11:45:37 -06:00
AJ ONeal f70deb7f9d useTty when useTty is selected 2018-06-13 11:29:36 -06:00
AJ ONeal 753da7fa44 use /dev/tty for stdin when specified 2018-06-13 10:45:54 -06:00
AJ ONeal a98da102b9 move most user config into node 2018-06-12 04:36:37 -06:00
AJ ONeal 23c40878e0 use correct config file 2018-06-11 15:09:20 -06:00
AJ ONeal d490ca7e4a also symlink telebitd 2018-06-11 15:04:29 -06:00
AJ ONeal f356cfac70 update instructional output 2018-06-11 15:00:14 -06:00
AJ ONeal cd37449e97 use TELEBIT_VERSION 2018-06-11 14:55:02 -06:00
AJ ONeal de7221ef37 separate remote from daemon 2018-06-11 14:52:01 -06:00
AJ ONeal a82f157b2e telebit remote, telebit daemon 2018-06-11 12:56:16 -06:00
AJ ONeal 7266165fd6 launch after setting config 2018-06-09 13:12:30 -06:00
AJ ONeal a942587b80 bug in v10.3, use v10.2 2018-06-09 12:57:00 -06:00
AJ ONeal 34cee2dbac should restart on failure on mac 2018-06-09 11:26:30 -06:00
AJ ONeal 54e9977c47 rearrange inputs 2018-06-09 08:23:54 -06:00
AJ ONeal 87da6e0208 ask questions last 2018-06-09 08:19:57 -06:00
AJ ONeal 7530325d0a use node v10.3 (10.4 has a bug) 2018-06-09 08:08:11 -06:00
AJ ONeal 0afdb1526d macOS doesn't have /opt 2018-06-09 08:05:45 -06:00
AJ ONeal e61fde0831 restart on clean exit too 2018-06-08 10:25:48 -06:00
AJ ONeal 3cfe1cddc8 fix bash bin by passing all args 2018-06-08 10:11:26 -06:00
AJ ONeal 9d44093df5 how to activate an expired activation 2018-06-08 10:01:56 -06:00
AJ ONeal 06e3a84995 clarify some log output 2018-06-08 09:58:05 -06:00
AJ ONeal 5178da0330 new stuff appears to work 2018-06-08 02:50:00 -06:00
AJ ONeal 082d371f57 update whitespace 2018-06-07 10:50:35 -06:00
AJ ONeal ad2ac51b0a update installer 2018-06-07 10:43:05 -06:00
AJ ONeal a5eb4e4a25 www.telebit.cloud => telebit.cloud 2018-06-07 00:11:06 -06:00
AJ ONeal f442abae59 read relay prompt variable correctly 2018-06-05 01:22:10 -06:00
AJ ONeal df16948bc5 properly use mktemp 2018-06-05 01:13:38 -06:00
AJ ONeal a673e05087 update uninstaller 2018-06-05 01:07:32 -06:00
AJ ONeal 9a6c3d36f9 use nano as fallback editor 2018-06-05 01:02:43 -06:00
AJ ONeal cb6d7497f8 use only editor basename, not full path 2018-06-05 01:01:31 -06:00
AJ ONeal ae992c0bd1 fix bad comment 2018-06-05 00:55:59 -06:00
AJ ONeal fcbb21b223 add uninstall script 2018-06-05 00:53:20 -06:00
AJ ONeal 7c7dcc5703 fix sudo_cmd whitespace, editor detection, other things... 2018-06-05 00:46:06 -06:00
AJ ONeal 0ba0d7d087 fix conditional 2018-06-05 00:09:24 -06:00
AJ ONeal d74529759c read prompt from /dev/tty 2018-06-04 23:23:59 -06:00
AJ ONeal 1d34541943 swap sudo with $sudo_cmd 2018-06-04 23:02:50 -06:00
AJ ONeal d6fcb467a9 used TELEBIT_PATH/usr/share, replace 'vim' with 'edit', change sudo_cmd 2018-06-04 23:00:28 -06:00
AJ ONeal 462cfe41bb change default branch 2018-06-04 18:25:35 -06:00
AJ ONeal 3c7d89d3c4 update config examples 2018-06-04 18:23:33 -06:00
AJ ONeal ca6feb8193 show /opt, not /etc 2018-06-05 00:16:15 +00:00
AJ ONeal ed1daccbf9 whitespace fix 2018-06-05 00:14:49 +00:00
AJ ONeal deb9873333 update symlink to system config 2018-06-05 00:13:03 +00:00
AJ ONeal dada009a62 agree_tos is dependent on email 2018-06-04 23:52:22 +00:00
AJ ONeal 01e77f4959 add agree_tos 2018-06-04 23:50:34 +00:00
AJ ONeal 8a41545d17 fix echo newline expansion 2018-06-04 23:48:17 +00:00
AJ ONeal 9ae6143857 add missing 'relay' config 2018-06-04 23:43:11 +00:00
AJ ONeal f8e2546282 use default relay 2018-06-02 04:05:12 -06:00
AJ ONeal 1cd02940d6 fix config bug 2018-06-02 04:00:08 -06:00
AJ ONeal b070024177 seems to work with launchd 2018-06-02 03:57:38 -06:00
AJ ONeal fda2d05e81 got further 2018-06-02 03:31:31 -06:00
AJ ONeal f251ed226f fixes 2018-06-02 03:30:13 -06:00
AJ ONeal 6e8f4c8d98 rename installer 2018-06-02 03:05:17 -06:00
AJ ONeal 184d4a0ed1 lots up cleanup 2018-06-02 02:58:42 -06:00
AJ ONeal 2b9d70a31e a place for apps 2018-06-02 02:28:58 -06:00