aboutsummaryrefslogtreecommitdiffstats
path: root/devops/gallifrey.service
blob: 43b340437b9cbe441a62dc45f0165055bb749431 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Gallifrey container
After=docker.socket early-docker.target network.target network-online.target
Wants=network-online.target
BindsTo=docker.service

[Service]
Restart=always
ExecStart=/usr/bin/docker-compose -f /opt/gallifrey/docker-compose.yml -p gallifrey up
ExecStop=/usr/bin/docker-compose -f /opt/gallifrey/docker-compose.yml -p gallifrey down

[Install]
WantedBy=multi-user.target