These services evolve as munix evolves, so they should not be part of the system closures themselves. Mount them into /run/systemd instead. (Yes, making /run/systemd/system a symlink to RO files is unfortunate, that could be changed in the future. FS prep code is annoying too..)
11 lines
347 B
Desktop File
11 lines
347 B
Desktop File
[Unit]
|
|
After=session-bus.service
|
|
Description=D-Bus VM integration bridge
|
|
Requires=session-bus.socket session-bus.service
|
|
|
|
[Service]
|
|
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/vm-user/dbus.sock
|
|
ExecStartPre=+/run/current-system/sw/bin/chmod 0666 /dev/dri/card0 /dev/dri/renderD128
|
|
ExecStart=/opt/bin/muvm-dbusbridge
|
|
Group=appvm
|
|
User=appvm
|