This commit is contained in:
2026-08-28 11:39:08 +02:00
parent 424ac04695
commit 760c93bc1a
3 changed files with 32 additions and 1 deletions
+9 -1
View File
@@ -53,8 +53,16 @@ setup-services:
sudo systemctl daemon-reload
sudo systemctl enable getty@tty1.service seatd.service
.PHONY: setup-user-services
setup-user-services:
sudo ln -fs $(PWD)/system/weston.service /etc/systemd/user/weston.service
sudo ln -fs $(PWD)/system/weston.socket /etc/systemd/user/weston.socket
sudo systemctl --user daemon-reload
sudo systemctl --user enable weston
.PHONY: install
install: remove-passwd setup-rasp-config apt-install setup-weston setup-rasp-config setup-services
install: remove-passwd setup-rasp-config apt-install setup-weston setup-rasp-config setup-services setup-user-services
.PHONY: clean
clean:
+23
View File
@@ -0,0 +1,23 @@
[Unit]
Description=Weston, a Wayland compositor, as a user service
# Activate using a systemd socket
Requires=weston.socket
After=weston.socket
# Since we are part of the graphical session, make sure we are started before
Before=graphical-session.target
[Service]
Type=notify
TimeoutStartSec=60
WatchdogSec=20
# Defaults to journal
#StandardOutput=journal
StandardError=journal
# add a ~/.config/weston.ini and weston will pick-it up
ExecStart=/usr/bin/weston --modules=systemd-notify.so --shell=kiosk-shell.so --xwayland -- kitty --hold make -C /opt/forge-invar run
[Install]
WantedBy=graphical-session.target
View File