mirror of
https://github.com/nestriness/nestri.git
synced 2026-05-01 19:03:08 +03:00
feat: Init
This commit is contained in:
13
build/etc/systemd/system/nestri-user-session.service
Normal file
13
build/etc/systemd/system/nestri-user-session.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Prepare VM user runtime directory
|
||||
DefaultDependencies=no
|
||||
Before=nestri-wayland-proxy.socket nestri-pwbridge.socket nestri-session-bus.socket
|
||||
After=local-fs.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c 'mkdir -p /run/vm-user && chown 1000:1000 /run/vm-user && chmod 700 /run/vm-user'
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=microvm.target
|
||||
Reference in New Issue
Block a user