You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need static folder, which won't get deleted by update-script
We need to modify the service file to load this custom folder
Maybe, a solution could be, that at first setup, the listmonk-static files are downloaded and the service-file is already loading this files?
Then, it will work for those who want to leave everything like it is.. and for those who want to modify those files.
# 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:
# mkdir -p /etc/listmonk/static ; wget -O - https://github.com/knadh/listmonk/archive/master.tar.gz | tar xz -C /etc/listmonk/static --strip=2 "listmonk-master/static"
For sure, the update-script should not overwrite / delete those files.
What do you think about this idea?
p.s. persistant logging is also possible.. see comment in the service-file
Regards,
demlak
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there..
thx @bvdberg01 for the Script.
I am using it right now and i am taking a look deeper into Listmonk.
There is a Solution to replace System-Templates. But i think, this will be broken by helper-scripts-updates?
Maybe, a solution could be, that at first setup, the listmonk-static files are downloaded and the service-file is already loading this files?
Then, it will work for those who want to leave everything like it is.. and for those who want to modify those files.
comment from the service file:
For sure, the update-script should not overwrite / delete those files.
What do you think about this idea?
p.s. persistant logging is also possible.. see comment in the service-file
Regards,
demlak
Beta Was this translation helpful? Give feedback.
All reactions