File tree 2 files changed +6
-4
lines changed
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ After=docker.service
24
24
Type=oneshot
25
25
RemainAfterExit=yes
26
26
WorkingDirectory=/home/twtrubiks/my-docker-run
27
- ExecStart=/usr/local/bin/docker-compose up -d
28
- ExecStop=/usr/local/bin/docker-compose down
27
+ ExecStartPre=/bin/sleep 3
28
+ ExecStart=/usr/bin/docker compose up -d
29
+ ExecStop=/usr/bin/docker compose down
29
30
TimeoutStartSec=0
30
31
31
32
[Install]
Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ After=docker.service
7
7
Type =oneshot
8
8
RemainAfterExit =yes
9
9
WorkingDirectory =/home/twtrubiks/my-docker-run
10
- ExecStart =/usr/local/bin/docker-compose up -d
11
- ExecStop =/usr/local/bin/docker-compose down
10
+ ExecStartPre =/bin/sleep 3
11
+ ExecStart =/usr/bin/docker compose up -d
12
+ ExecStop =/usr/bin/docker compose down
12
13
TimeoutStartSec =0
13
14
14
15
[Install]
You can’t perform that action at this time.
0 commit comments