automatically start and pull config for yate #6

Merged
june merged 3 commits from yate into main 2025-01-23 23:21:26 +01:00
Owner
  • create systemd service for yate
  • create yate user for service
  • create yate-config group for config permissions
  • add sops and use it to insert private deploy key for config repo
  • link yate config to /etc/yate
- create systemd service for yate - create yate user for service - create yate-config group for config permissions - add sops and use it to insert private deploy key for config repo - link yate config to /etc/yate
echtnurich changed title from WIP: automatically start and pull config for yate to automatically start and pull config for yate 2024-08-11 20:35:58 +02:00
echtnurich changed title from automatically start and pull config for yate to WIP: automatically start and pull config for yate 2024-09-08 20:29:10 +02:00
echtnurich changed title from WIP: automatically start and pull config for yate to automatically start and pull config for yate 2024-09-08 21:10:29 +02:00
Author
Owner

Issues fixed

  • repo is pulled from CCCHH/yate-config
  • service is started after network-online.target
  • check if that is true returns errors at /etc/yate/SSH_CHECK_LOG
  • new deploy key is correct
Issues fixed - repo is pulled from CCCHH/yate-config - service is started after network-online.target - check if that is true returns errors at /etc/yate/SSH_CHECK_LOG - new deploy key is correct
Author
Owner

Kann das bitte jemand anders zusammenfrickeln, ich hab keinen Bock mehr...
@june @jtbx

Kann das bitte jemand anders zusammenfrickeln, ich hab keinen Bock mehr... @june @jtbx
Author
Owner

Can someone please approve and merge this, before it breaks again?

We kinda need to go live soon

Can someone please approve and merge this, before it breaks again? We kinda need to go live soon
june approved these changes 2025-01-19 17:02:05 +01:00
Dismissed
june left a comment
Owner

Looks alright!

Looks alright!
june dismissed june's review 2025-01-19 19:05:52 +01:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

june approved these changes 2025-01-19 19:06:18 +01:00
Dismissed
june left a comment
Owner

Looks good!

Looks good!
Owner

@echtnurich I cleaned up the configuration a bit, can u check, if yate works fine and if so, I would merge this :3

@echtnurich I cleaned up the configuration a bit, can u check, if yate works fine and if so, I would merge this :3
june dismissed june's review 2025-01-19 20:28:25 +01:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

Author
Owner

Will check later,
1 open todo:

Use ExecReload= to trigger a hard config pull from
origin
This will run on systemctl reload
May drop sessions, gotta be careful.

Will check later, 1 open todo: Use ExecReload= to trigger a hard config pull from origin This will run on systemctl reload May drop sessions, gotta be careful.
Author
Owner

Looks good, everything seems to work just as intended.
Also you can now sudo systemctl reload yate and the config will be hard pulled from repo

Looks good, everything seems to work just as intended. Also you can now `sudo systemctl reload yate` and the config will be hard pulled from repo
june approved these changes 2025-01-23 23:17:23 +01:00
june left a comment
Owner

Let's get this thing merged :3

Let's get this thing merged :3
june merged commit d57c47437f into main 2025-01-23 23:21:26 +01:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
CCCHH/nix-infra!6
No description provided.