aboutsummaryrefslogtreecommitdiff
path: root/gerboweb.service
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-07-11 10:21:07 +0000
committerjaseg <git@jaseg.de>2022-07-11 10:21:07 +0000
commit869fd09ad93c64a65b5d1f527ec295da940a26aa (patch)
treebc962fdae15d76997ef6f2dbe8543ac1c0cc99d6 /gerboweb.service
parent00de98d5e3bc836715d04b7d8b8934389062f63d (diff)
downloadgerbolyze-tsugi-dev.tar.gz
gerbolyze-tsugi-dev.tar.bz2
gerbolyze-tsugi-dev.zip
gerboweb: fix deployment for new gerbolyzetsugi-dev
Diffstat (limited to 'gerboweb.service')
-rw-r--r--gerboweb.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/gerboweb.service b/gerboweb.service
new file mode 100644
index 0000000..8aa5210
--- /dev/null
+++ b/gerboweb.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Gerboweb server service
+Documentation=https://gitlab.com/gerbolyze/gerbolyze
+Wants=network-online.target
+Wants=nginx.service
+After=nginx.service
+RequiresMountsFor=/var/run/container/storage
+
+[Service]
+ExecStart=/usr/bin/podman run --secret=gerboweb --conmon-pidfile=%t/container-gerboweb.pid --volume=${RUNTIME_DIRECTORY}:/run/uwsgi --detach gerboweb
+ExecStop=/usr/bin/podman stop --time 2 gerboweb
+Type=forking
+PIDFile=%t/container-gerboweb.pid
+RuntimeDirectory=gerboweb-uwsgi
+
+[Install]
+WantedBy=default.target