If you simply want to adjust some priorities, here is how to do it in three steps.
- sudo systemctl edit [service]
- sudo systemctl daemon-reload
- sudo systemctl restart [service]
Your Linux Self-Help Desk. A selection of mostly Linux related tutorials, howtos, fixes, news and more.
#!/bin/sh
rkt="./rkt/rkt"
images="$(sudo $rkt image list | awk 'NR>1 {print $1}')"
set -x
sudo $rkt gc --grace-period=1s
sleep 1
sudo $rkt gc --grace-period=1s
sudo $rkt image list
sudo $rkt image rm $images