2022-07-12 11:06:19 +02:00
|
|
|
<<<<<<< HEAD
|
2022-02-16 09:59:53 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bridgehead (%i) Service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
WorkingDirectory=/srv/docker/bridgehead/
|
|
|
|
|
|
|
|
ExecStartPre=/bin/bash -c '`which docker-compose` -f %i/docker-compose.yml --env-file site-config/%i.env down'
|
|
|
|
ExecStart=/bin/bash -c '`which docker-compose` -f %i/docker-compose.yml --env-file site-config/%i.env up'
|
|
|
|
ExecStop=/bin/bash -c '`which docker-compose` -f %i/docker-compose.yml --env-file site-config/%i.env down'
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2022-07-12 11:06:19 +02:00
|
|
|
=======
|
2021-12-21 09:12:34 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bridgehead (%i) Service
|
|
|
|
|
|
|
|
[Service]
|
2022-05-04 13:50:33 +02:00
|
|
|
User=bridgehead
|
2021-12-21 09:12:34 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
2022-05-09 15:13:38 +02:00
|
|
|
ExecStart=/srv/docker/bridgehead/bridgehead start %i
|
|
|
|
ExecStop=/srv/docker/bridgehead/bridgehead stop %i
|
2021-12-21 09:12:34 +01:00
|
|
|
|
|
|
|
[Install]
|
2022-05-09 15:13:38 +02:00
|
|
|
WantedBy=multi-user.target
|
2022-07-12 11:06:19 +02:00
|
|
|
>>>>>>> version-1
|