Commit Graph

4 Commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
93d3a967d3 data: Restart the daemon on failure
If Calls crashes for some reason, the user will be left with no
running Calls instance until it's launched manually. Make sure
the daemon gets restarted on a failure.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/810>
2025-12-26 10:15:07 +00:00
Evangelos Ribeiro Tzaras
450ed97877 systemd: Use --gapplication-service to launch
Signed-off-by: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/805>
2025-11-27 21:06:41 +00:00
Guido Günther
c6f816687d data: Start calls as part of gnome-session
Since the "calls daemon" is the full app we depend on session services
and portls. Start within gnome-session startup to make sure we don't
start too early.

Closes: https://gitlab.gnome.org/GNOME/calls/-/issues/690

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/771>
2025-04-04 08:51:12 +00:00
Clayton Craft
bf6d4c22f4 data: add systemd unit file for running daemon
This adds a systemd unit file for running the Calls daemon, and adds a
key to the xdg autostart file to instruct gnome-session to ignore
starting when systemd is present. The expectation is that systemd
distros will enable the Calls daemon as a user service and not rely on
xdg autostart / gnome-session for running/managing the service. Systemd
is better at managing services than gnome-session.

Note: it's important to keep the xdg-autostart file around, some distros
(pmOS on openrc, others) don't use systemd and will still need to rely
on the xdg autostart mechanism for starting the Calls daemon.

Co-authored-by: Guido Günther <agx@sigxcpu.org>
2024-07-09 11:00:53 -07:00