aboutsummaryrefslogtreecommitdiff
path: root/gerboweb.service
blob: 8aa52109f3531c2bd9cc7c3a8f4c45f40ee098c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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