Debian Codegraph @

script/podman/config/podman-rootless-stargz-store.service

raw
1 [Unit]
2 Description=Stargz Store service for Podman
3
4 [Service]
5 # This pipes stargz-store's IO to the shell otherwise they are lost and can't be managed by systemd.
6 # TODO: fix this and do not use pipe
7 ExecStart=/bin/bash -c "podman unshare stargz-store --log-level=debug --root %h/.local/share/stargz-store/data %h/.local/share/stargz-store/store 2>&1 | cat"
8 ExecStopPost=podman unshare umount %h/.local/share/stargz-store/store
9
10 [Install]
11 WantedBy=default.target