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

23 lines
390 B
SYSTEMD
Raw Normal View History

2019-10-14 01:47:14 +00:00
# myNode usb driver check
# /etc/systemd/system/usb_driver_check.service
[Unit]
Description=myNode USB Driver Check
Wants=mynode.service
After=mynode.service
[Service]
Type=oneshot
ExecStart=/usr/bin/mynode_usb_driver_check.sh
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode
RestartSec=30
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target