Containers wait on docker image install

This commit is contained in:
Taylor Helsper 2020-02-22 22:19:22 -06:00
parent 2ad766403a
commit e1f2c86bd6
2 changed files with 5 additions and 5 deletions

View File

@ -3,8 +3,8 @@
[Unit]
Description=MempoolSpace
Wants=www.service mynode_docker_images.service
After=www.service mynode_docker_images.service
Wants=www.service docker_images.service
After=www.service docker_images.service
[Service]
EnvironmentFile=/mnt/hdd/mynode/settings/.btcrpc_environment
@ -17,7 +17,7 @@ Group=root
Type=simple
TimeoutSec=240
Restart=always
RestartSec=30
RestartSec=120
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mempoolspace

View File

@ -3,8 +3,8 @@
[Unit]
Description=Netdata
Wants=mynode.service
After=mynode.service
Wants=mynode.service docker_images.service
After=mynode.service docker_images.service
[Service]
WorkingDirectory=/opt/mynode/docker