Commit Graph

18 Commits

Author SHA1 Message Date
niten 1020e63fb8 Let's see if either of these env vars are set 2022-06-20 11:29:44 -07:00
niten d0b2329ced Maybe creds _should_ be in serviceConfig.
https://systemd.io/CREDENTIALS/
2022-06-20 11:17:41 -07:00
niten d03a8b8ab1 Made no difference 2022-06-19 17:00:32 -07:00
niten 917f2e5a93 Try removing some of the restrictions 2022-06-19 16:55:46 -07:00
niten c5f2a7cdde Try just specifying the file name 2022-06-19 16:48:45 -07:00
niten 67f33d2916 This is getting very frustrating... 2022-06-19 16:40:03 -07:00
niten 27ff1b1f80 Apparently systemd doesn't use / as a break 2022-06-19 15:32:10 -07:00
niten f0c47ef903 Stupid test 2022-06-19 15:11:51 -07:00
niten 39210c0871 Try moving LoadCredential to unitConfig 2022-06-19 13:35:30 -07:00
niten 7385b536b7 Make the description nicer 2022-06-19 13:16:51 -07:00
niten 3ec45f571f Apparently for env, %d is needed, not $CRED_DIR.
See: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LoadCredential=ID:PATH
2022-06-19 12:34:04 -07:00
niten 74fd327208 Switch from ExecStartPre to LoadCredential.
ExecStartPre %u and %T were relative to root.
2022-06-19 12:28:59 -07:00
niten ed4678d748 Oh, forget it, skip callPackage 2022-06-19 12:18:06 -07:00
niten 710ae58885 mkCljBin creates an executable. Duh. 2022-06-19 12:11:44 -07:00
niten 9b814937b8 install must run as root (prepend +) 2022-06-19 12:05:34 -07:00
niten f68e5a2b17 Explicitly set path of `install` 2022-06-19 11:59:31 -07:00
niten d52684ae6c Copy auth token to a dynamic-user visible path. 2022-06-19 11:34:04 -07:00
niten 22a430239f Initial Checkin 2022-06-17 11:24:48 -07:00