summaryrefslogtreecommitdiffstats
path: root/devops/chameleon.service
blob: 0c4b9379c2e371dac16eaa9ecf8c7b5c8c12b798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Chameleon 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/chameleon/docker-compose.yml -p chameleon up
ExecStop=/usr/bin/docker-compose -f /opt/chameleon/docker-compose.yml -p chameleon down

[Install]
WantedBy=multi-user.target