~hokiegeek/biologist-web

ref: 2.1.1 biologist-web/prod-conf/hglife.service -rw-r--r-- 549 bytes
e6c182aeHokieGeek Refactored to run as a Cloud Run thingy 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=HokieGeek.net_Life
After=docker.service,hgnetwork.service
Requires=docker.service,biologist.service

[Service]
TimeoutStartSec=0
ExecStartPre=-/usr/bin/docker kill site-life
ExecStartPre=-/usr/bin/docker rm site-life
ExecStartPre=/usr/bin/docker pull registry.gitlab.com/pond-life/biologist-web:latest
ExecStart=/usr/bin/docker run --name site-life --network hokiegeek.net registry.gitlab.com/pond-life/biologist-web:latest
ExecStop=/usr/bin/docker stop site-life
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target