X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=inline;f=bullseye%2Fetc_files%2Fmicroblogpub%2Fetc%2Fsystemd%2Fsystem%2Fmicroblogpub.service;fp=bullseye%2Fetc_files%2Fmicroblogpub%2Fetc%2Fsystemd%2Fsystem%2Fmicroblogpub.service;h=7a6401408f64d9cc51ac3aed313913d059551e50;hb=82fa5b67b20dfff3fa3cdeaa2a08e911c4472fbb;hp=0000000000000000000000000000000000000000;hpb=70a753dc297327e3387471efdd998d25f1bba4dc;p=config
diff --git a/bullseye/etc_files/microblogpub/etc/systemd/system/microblogpub.service b/bullseye/etc_files/microblogpub/etc/systemd/system/microblogpub.service
new file mode 100644
index 0000000..7a64014
--- /dev/null
+++ b/bullseye/etc_files/microblogpub/etc/systemd/system/microblogpub.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=microblog.pub
+
+[Service]
+Type=simple
+User=plom
+WorkingDirectory=/home/plom/testing.microblog.pub/
+ExecStart=/bin/sh -c 'poetry run supervisord -c misc/supervisord.conf -n'
+Environment=VENV_DIR=REPLACE_venv_dir_ECALPER
+Restart=always
+
+[Install]
+WantedBy=multi-user.target