diff options
author | jaseg <git@jaseg.de> | 2022-07-11 10:21:07 +0000 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-07-11 10:21:07 +0000 |
commit | 869fd09ad93c64a65b5d1f527ec295da940a26aa (patch) | |
tree | bc962fdae15d76997ef6f2dbe8543ac1c0cc99d6 /gerboweb.service | |
parent | 00de98d5e3bc836715d04b7d8b8934389062f63d (diff) | |
download | gerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.tar.gz gerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.tar.bz2 gerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.zip |
gerboweb: fix deployment for new gerbolyzetsugi-dev
Diffstat (limited to 'gerboweb.service')
-rw-r--r-- | gerboweb.service | 17 |
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 |