UPDATE
This commit is contained in:
parent
7a71193311
commit
c60b9c4a2d
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ Group=root
|
||||||
WorkingDirectory=/root/production/docker/%i
|
WorkingDirectory=/root/production/docker/%i
|
||||||
ExecStart=docker compose up --abort-on-container-exit
|
ExecStart=docker compose up --abort-on-container-exit
|
||||||
ExecStop=docker compose down
|
ExecStop=docker compose down
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue