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

23 lines
408 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=oneshot
ExecStart=/usr/bin/mynode_docker_images.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode_docker_images
RestartSec=30
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target