mirror of
https://github.com/nestriness/nestri.git
synced 2026-05-01 19:03:08 +03:00
feat: Init
This commit is contained in:
12
build/etc/systemd/system/nestri-procsys-rw.service
Normal file
12
build/etc/systemd/system/nestri-procsys-rw.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Make /proc/sys writable for muvm
|
||||
DefaultDependencies=no
|
||||
Before=systemd-sysctl.service systemd-tmpfiles-setup.service
|
||||
After=local-fs-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
# umount the ro bind mount; exit 0 so service succeeds
|
||||
# even if there's nothing to unmount (defensive)
|
||||
ExecStart=/bin/sh -c 'umount /proc/sys 2>/dev/null || true'
|
||||
Reference in New Issue
Block a user