systemd: chown XDG_RUNTIME_DIR again

This was temporarily gone due to refactorings (throwing out tmpfiles).
This commit is contained in:
Val Packett 2025-12-05 04:09:32 -03:00
parent bfc037e615
commit cc135479ef

View file

@ -179,6 +179,7 @@ in {
];
User = "appvm";
Group = "appvm";
ExecStartPre = "+/run/current-system/sw/bin/chown appvm:appvm ${runtimeDir}";
ExecStart = "/opt/bin/muvm-remote";
ExecStopPost = ''+${pkgs.python3}/bin/python -c "import os,fcntl,struct;print(os.getenv('EXIT_STATUS', '1'));fcntl.ioctl(os.open('/', os.O_RDONLY), 0x7602, int(os.getenv('EXIT_STATUS', '1')))"'';
} // useTTY;