From d031970bbd81c88f37d3d3400f8469f09561b165 Mon Sep 17 00:00:00 2001 From: MaximilianKohler Date: Mon, 11 Dec 2023 03:50:20 -0800 Subject: [PATCH] fix static dir --- listmonk@.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/listmonk@.service b/listmonk@.service index 783f1407..cf33ddd1 100644 --- a/listmonk@.service +++ b/listmonk@.service @@ -21,9 +21,10 @@ TimeoutStopSec=10 Restart=on-failure RestartSec=5 -# To enable a static dir, uncomment the ExecStart line below after creating the dir and fetching the files with: +# To enable a static dir, add the following +# --static-dir /etc/listmonk/static +# to the end of the ExecStart line above after creating the dir and fetching the files with: # wget -O - https://github.com/knadh/listmonk/archive/master.tar.gz | tar xz --strip=2 "listmonk-master/static" -# ExecStart=/usr/bin/listmonk --static-dir /etc/listmonk/static # Create dynamic users for listmonk service instances # but create a state directory for uploads in /var/lib/private/%i.