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

23 lines
422 B
SYSTEMD
Raw Normal View History

2019-06-15 23:02:44 +00:00
# myNode Bandwidth Management
# /etc/systemd/system/bandwidth.service
[Unit]
Description=myNode Bandwidth Management
Wants=quicksync.service
After=quicksync.service
[Service]
Type=simple
KillMode=control-group
ExecStart=/usr/bin/mynode_bandwidth.sh
User=bitcoin
Group=bitcoin
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=mynode_quicksync
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target