You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm reading this correctly, comin handles restarts by checking if the unit file has changed after a deploy.
Because of this the module systemd unit is configured to not restart through the normal nixos-rebuild switch.However this means if nixos switched outside of comin with a normal nixos-rebuild, then the service is not restarted and the config is not updated
I noticed this when I misconfigured a remote, then manually deployed nixos. Because the update to the config file occured outside comin the service did not restart and because the bad config was still being used comin missed future pushes.
Maybe a solution is that comin could regularly check if the unit file has changed and restart itself if it has?