mynode/rootfs/standard/etc/systemd/system/docker_images.service

24 lines
466 B
SYSTEMD
Raw Normal View History

# 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
ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStart=/usr/bin/mynode_docker_images.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode_docker_images
Restart=always
2020-01-21 01:33:07 +00:00
RestartSec=300
[Install]
WantedBy=multi-user.target