From 73d6baa2aea79d8f83c7bedf5284e5b519daa62a Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 1 Dec 2020 08:58:05 +0100 Subject: miniflux suddenly no longer adds user --- mkosi.postinst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index c638da9..22b7c4f 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -22,6 +22,9 @@ curl -s https://apt.miniflux.app/KEY.gpg | apt-key add - echo "deb https://apt.miniflux.app/ /" > /etc/apt/sources.list.d/miniflux.list apt-get update +groupadd --system miniflux +useradd --system --home-dir /opt/miniflux --create-home --shell /usr/sbin/nologin --gid miniflux miniflux + apt-get install --yes miniflux mkdir /etc/miniflux -- cgit v1.2.3