distribution/packages/wayland/weston/system.d/weston.service

19 lines
435 B
SYSTEMD
Raw Normal View History

2022-02-05 14:23:32 +00:00
[Unit]
Description=Weston Launcher
Before=graphical.target
After=multi-user.target
ConditionKernelCommandLine=!installer
[Service]
Environment=HOME=/storage
Environment=XDG_RUNTIME_DIR=/var/run/0-runtime-dir
WorkingDirectory=/storage
ExecStartPre=-/usr/lib/weston/weston-config
ExecStart=/usr/bin/weston --tty=1 --log=/var/log/weston.log
Restart=always
RestartSec=10
[Install]
Alias=display-manager.service
WantedBy=graphical.target