summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-12-01 08:58:05 +0100
committerDennis Eriksen <d@ennis.no>2020-12-01 08:58:05 +0100
commit73d6baa2aea79d8f83c7bedf5284e5b519daa62a (patch)
tree662d2a9e57e3953e64da981b5cccef6c6527e82d
parentaim for more persistent logging. Set machine-id if you want more persistent l... (diff)
downloadmkosi-miniflux-master.tar.gz
miniflux suddenly no longer adds userHEADmaster
-rwxr-xr-xmkosi.postinst3
1 files changed, 3 insertions, 0 deletions
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