home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix dumpsite reference bug.
[config]
/
bullseye
/
setup_scripts
/
setup_microblogpub.sh
diff --git
a/bullseye/setup_scripts/setup_microblogpub.sh
b/bullseye/setup_scripts/setup_microblogpub.sh
index ce0d7d1c6c1bbb8db811cc34625754b18cec43be..d0f68c938fca59b0dbc4f72ae9655e73cd28edea 100755
(executable)
--- a/
bullseye/setup_scripts/setup_microblogpub.sh
+++ b/
bullseye/setup_scripts/setup_microblogpub.sh
@@
-51,3
+51,8
@@
service microblogpub start
sed -i "s/REPLACE_fqdn_ECALPER/${domain}/g" /etc/nginx/sites-available/microblogpub.nginx
ln -s /etc/nginx/sites-available/microblogpub.nginx /etc/nginx/sites-enabled/microblogpub.nginx
service nginx restart
sed -i "s/REPLACE_fqdn_ECALPER/${domain}/g" /etc/nginx/sites-available/microblogpub.nginx
ln -s /etc/nginx/sites-available/microblogpub.nginx /etc/nginx/sites-enabled/microblogpub.nginx
service nginx restart
+
+# Setup regular DB pruning
+cp "${config_tree_prefix}/other_files/prune_microblog.sh" /home/plom/
+systemctl enable microblogpub_prune.timer
+systemctl start microblogpub_prune.timer