dotfiles/.config/systemd/user/podman.service
surtur 930e692a47
systemd(user): add podman unit, slice files
* podman user service (rootless) is autostarted (enabled)
2021-11-10 02:40:17 +01:00

19 lines
437 B
SYSTEMD

[Unit]
Description=Podman API Service
Requires=podman.socket
After=podman.socket
Documentation=man:podman-system-service(1)
StartLimitIntervalSec=0
[Service]
Slice=podman.slice
; Delegate=yes
Delegate=cpu cpuset memory pids io
Type=exec
KillMode=process
Environment=LOGGING="--log-level=info"
ExecStart=/usr/bin/podman --cgroup-manager=systemd $LOGGING system service
[Install]
; WantedBy=multi-user.target
WantedBy=sway-session.target