2019-11-30 03:29:55 +00:00
|
|
|
# myNode Install Docker Images
|
|
|
|
# /etc/systemd/system/docker_images.service
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=myNode Install Docker Images
|
|
|
|
Wants=mynode.service
|
|
|
|
After=mynode.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
KillMode=control-group
|
2020-01-19 02:37:48 +00:00
|
|
|
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
|
2019-11-30 03:29:55 +00:00
|
|
|
ExecStart=/usr/bin/mynode_docker_images.sh
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
SyslogIdentifier=mynode_docker_images
|
|
|
|
Restart=always
|
2020-01-08 02:52:54 +00:00
|
|
|
RestartSec=86400
|
2019-11-30 03:29:55 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|