24 lines
456 B
Desktop File
24 lines
456 B
Desktop File
# 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/is_not_shutting_down.sh
|
|
ExecStart=/usr/bin/mynode_docker_images.sh
|
|
User=root
|
|
Group=root
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=mynode_docker_images
|
|
|
|
RestartSec=60
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|