Add enable-linger for podman

This commit is contained in:
swagg boi 2023-09-02 23:38:05 -04:00
parent 430590d43d
commit 8846aef9db

View file

@ -73,6 +73,12 @@ apt-get -y install git libsecret-1-0 libsecret-1-dev build-essential vim \
postgresql-server-dev-15 emacs-goodies-extra-el \
elpa-dockerfile-mode elpa-web-mode elpa-yaml-mode docker-compose-
# Need this for rootless podman
if grep -q '^daniel' /etc/shadow; then
loginctl enable-linger daniel
fi
# Credential helper for git
(cd /usr/share/doc/git/contrib/credential/libsecret
make)