Related: https://gitlab.alpinelinux.org/alpine/aports/-/commit/392c1094580003f3bd8c7e663214c0fe93f48c3d Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6857 [ci:skip-build]: already built successfully in CI
21 lines
308 B
Plaintext
21 lines
308 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name="Display Manager"
|
|
description="SDDM Display Manager"
|
|
|
|
command=/usr/bin/sddm
|
|
command_args="$sddm_opts"
|
|
|
|
depend() {
|
|
provide display-manager
|
|
need dbus localmount
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -d -o sddm:video -m755 /var/lib/sddm
|
|
}
|
|
|
|
start_post() {
|
|
ewaitfile 2 /run/user/$(id -u sddm)
|
|
}
|