NixOS / infra

NixOS configurations for nixos.org and its servers
MIT License
209 stars 92 forks source link

go-neb sometimes start without a Matrix access token available #330

Open delroth opened 5 months ago

delroth commented 5 months ago
# cat /var/run/go-neb/config.yaml
clients:
- AccessToken:
  AutoJoinRooms: true
  DisplayName: Bot
  HomeServerUrl: https://nixos.ems.host
  Sync: true
  UserId: '@bot:nixos.org'

The AccessToken wasn't properly substituted in the ExecStartPre, likely because the key file hadn't been copied yet. There's likely a systemd service dependency missing here.