notify_push icon indicating copy to clipboard operation
notify_push copied to clipboard

systemd service file should include a "Restart=always"

Open jacotec opened this issue 2 years ago • 5 comments

When the client push is configured but the service is not running, this causes permanent browser issues as the browser always tries to establish a wss connection to the push service. You can see that in the browser console.

As a side effect this also delays the connection to the signaling server in Talk when entering a chat room ... up to messages that the signaling connection does not respond in time.

I found that, when the complete server VM is started, the notify_push service can start before the database is up. That leads to an error and notify_push often does not run.

The additional command

Restart=always

in the [Service] section should restart the service in that case until the database is up and the service is running.

Maybe that should be added in the documentation (sample service file).

jacotec avatar Nov 03 '22 15:11 jacotec