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

19 lines
339 B
SYSTEMD
Raw Normal View History

2021-12-29 18:50:03 +00:00
# USB Extras
# /etc/systemd/system/usb_extras.service
[Unit]
Description=USB Extras
After=network.target mynode.service
[Service]
ExecStart=/usr/local/bin/python3 /usr/bin/mynode_usb_extras.py
User=root
Group=root
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=usb_extras
RestartSec=30
[Install]
WantedBy=multi-user.target