Skip to content
Snippets Groups Projects
Commit 83f3771e authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

epiphany-add: Always restart the browser service


The browser is meant to be the only UI for the running device. So
stopping it would make little sense. epiphany, even in app mode, doesn't
hide the window controls - including the window closing button. If that
is triggered by mistake, systemd would restart it unconditionally.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 2df70bdf
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ After=weston@root.service ...@@ -7,6 +7,7 @@ After=weston@root.service
Environment="WAYLAND_DISPLAY=wayland-0" Environment="WAYLAND_DISPLAY=wayland-0"
Environment="XDG_RUNTIME_DIR=/run/user/0" Environment="XDG_RUNTIME_DIR=/run/user/0"
ExecStart=/usr/bin/epiphany -a --profile /home/root/.local/share/epiphany-@EPIPHANY_APP@ @EPIPHANY_URL@ ExecStart=/usr/bin/epiphany -a --profile /home/root/.local/share/epiphany-@EPIPHANY_APP@ @EPIPHANY_URL@
Restart=always
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment