mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
12 lines
296 B
Desktop File
12 lines
296 B
Desktop File
[Unit]
|
|
Description=Container Volume for %I
|
|
Wants=container-volume-restore@%i.service container-volume-backup@%i.timer
|
|
After=container-volume-restore@%i.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/sh -c 'podman volume exists %i || podman volume create %i'
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|