mynode/rootfs/standard/etc/systemd/system/mynode.service
2019-06-15 18:02:44 -05:00

23 lines
373 B
Desktop File

# myNode start service
# /etc/systemd/system/mynode.service
[Unit]
Description=myNode Startup
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