su -lPc "cd testing.microblog.pub && poetry run inv migrate-db" - plom
# Set up microblog.pub daemon service.
su -lPc "cd testing.microblog.pub && poetry run inv migrate-db" - plom
# Set up microblog.pub daemon service.
sed -i "s/REPLACE_venv_dir_ECALPER/${venv_dir}/g" /etc/systemd/system/microblogpub.service
systemctl enable microblogpub.service
service microblogpub start
sed -i "s/REPLACE_venv_dir_ECALPER/${venv_dir}/g" /etc/systemd/system/microblogpub.service
systemctl enable microblogpub.service
service microblogpub start