mynode/rootfs/standard/etc/systemd/system/mynode.service
2020-04-02 21:00:11 -05:00

24 lines
414 B
Desktop File

# myNode start service
# /etc/systemd/system/mynode.service
[Unit]
Description=myNode Startup
Before=docker.service containerd.service
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/mynode_startup.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode
RestartSec=30
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target