File firefoxpwa-runtime-overlayfs.service of Package firefoxpwa

[Unit]
Description=Service to use PWAsForFirefox with OverlayFS for runtime
AssertPathIsDirectory=%RUNTIME-PATH%

[Service]
Type=simple
ExecStartPre=mkdir -p %h/.local/share/firefoxpwa/runtime
ExecStart=fuse-overlayfs -f -o squash_to_uid=%U,squash_to_gid=%G,lowerdir=%RUNTIME-PATH%,upperdir=%t/firefoxpwa/overlayfs/upper,workdir=%t/firefoxpwa/overlayfs/work %h/.local/share/firefoxpwa/runtime/
ExecStop=fusermount3 -u %h/.local/share/firefoxpwa/runtime/
RuntimeDirectory=firefoxpwa/overlayfs firefoxpwa/overlayfs/upper firefoxpwa/overlayfs/work

[Install]
WantedBy=default.target
openSUSE Build Service is sponsored by