Skip to content

Commit

Permalink
Restarting agama.service restarts the web server (#1222)
Browse files Browse the repository at this point in the history
Restarting the `agama.servce` (through `systemctl`) causes the
`agama-web-server` to fail because I gets disconnected from the D-Bus
daemon. Declaring `agama-web-server` PartOf `agama.service` forces the
web server to be restarted too.
  • Loading branch information
imobachgs authored May 16, 2024
2 parents 438b811 + 1c661f7 commit 26d852d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/package/agama.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 16 12:34:43 UTC 2024 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Restarting agama.service causes agama-web-server.service to be
restarted too (gh#openSUSE/agama#1222).

-------------------------------------------------------------------
Thu May 16 12:24:26 UTC 2024 - José Iván López González <jlopez@suse.com>

Expand Down
1 change: 1 addition & 0 deletions rust/share/agama-web-server.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=Agama Web Server
# agama-hostname might change the host name which is used when creating
# a self signed certificate, run it before the web server
After=network-online.target agama.service agama-hostname.service
PartOf=agama.service

[Service]
Type=simple
Expand Down

0 comments on commit 26d852d

Please sign in to comment.