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

weston-init: Override the systemd service by a notify-based one


Using systemd notify, a service dependency would be more robust. This
allows, for example, another service to depend on weston-init without
having to hack a sleep (or similar).

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent d6a88c43
No related branches found
No related tags found
No related merge requests found
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
WESTON_DYNAMIC_INI ?= "0" WESTON_DYNAMIC_INI ?= "0"
WESTON_INI_PATH ?= "etc/xdg/weston/weston.ini" WESTON_INI_PATH ?= "etc/xdg/weston/weston.ini"
......
[Unit]
Description=Weston Wayland Compositor
RequiresMountsFor=/run
Conflicts=plymouth-quit.service
After=systemd-user-sessions.service plymouth-quit-wait.service
[Service]
Type=notify
NotifyAccess=all
User=%i
PAMName=login
EnvironmentFile=-/etc/default/weston
StandardError=journal
PermissionsStartOnly=true
IgnoreSIGPIPE=no
ExecStart=/usr/bin/weston-start -v -e -- $OPTARGS --modules=systemd-notify.so
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