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