23 lines
422 B
SYSTEMD
23 lines
422 B
SYSTEMD
|
# 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
|