home · contact · privacy
Improve microblog.pub setup.
[config] / bullseye / etc_files / microblogpub / etc / systemd / system / microblogpub.service
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 (file)
index 0000000..7a64014
--- /dev/null
@@ -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