mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 22:41:09 +02:00
rkt: fix grace period variable format
systemd requires the ${var} syntax when embedded in words.
This commit is contained in:
parent
c025700be9
commit
fa6567e851
@ -4,4 +4,4 @@ Description=Garbage Collection for rkt
|
|||||||
[Service]
|
[Service]
|
||||||
Environment=GRACE_PERIOD=24h
|
Environment=GRACE_PERIOD=24h
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/rkt gc --grace-period=$GRACE_PERIOD
|
ExecStart=/usr/bin/rkt gc --grace-period=${GRACE_PERIOD}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user