mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-16 02:12:49 +00:00
23 lines
390 B
Desktop File
23 lines
390 B
Desktop File
# 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
|