mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Reduce long TimeoutSec settings
This commit is contained in:
parent
20c2b7e398
commit
4b915730df
|
@ -9,7 +9,7 @@ After=network.target
|
||||||
ExecStart=/usr/bin/glances -w
|
ExecStart=/usr/bin/glances -w
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
TimeoutSec=300
|
TimeoutSec=120
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
Nice=5
|
Nice=5
|
||||||
|
|
|
@ -11,7 +11,7 @@ KillMode=control-group
|
||||||
ExecStart=/usr/bin/mynode_invalid_block_check.sh
|
ExecStart=/usr/bin/mynode_invalid_block_check.sh
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
TimeoutSec=300
|
TimeoutSec=120
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
Nice=5
|
Nice=5
|
||||||
|
|
|
@ -17,7 +17,7 @@ Group=bitcoin
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=process
|
KillMode=process
|
||||||
LimitNOFILE=128000
|
LimitNOFILE=128000
|
||||||
TimeoutSec=240
|
TimeoutSec=120
|
||||||
Nice=-1
|
Nice=-1
|
||||||
IOAccounting=true
|
IOAccounting=true
|
||||||
IOWeight=400
|
IOWeight=400
|
||||||
|
|
|
@ -17,7 +17,7 @@ User=bitcoin
|
||||||
Group=bitcoin
|
Group=bitcoin
|
||||||
Type=simple
|
Type=simple
|
||||||
KillMode=control-group
|
KillMode=control-group
|
||||||
TimeoutSec=240
|
TimeoutSec=120
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
|
@ -16,7 +16,7 @@ ExecStart=/usr/bin/node rtl
|
||||||
User=bitcoin
|
User=bitcoin
|
||||||
Group=bitcoin
|
Group=bitcoin
|
||||||
Type=simple
|
Type=simple
|
||||||
TimeoutSec=240
|
TimeoutSec=120
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
|
@ -14,7 +14,7 @@ ExecStop=/usr/bin/docker stop -t 2 webssh2
|
||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
Type=simple
|
Type=simple
|
||||||
TimeoutSec=240
|
TimeoutSec=120
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=60
|
RestartSec=60
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
Loading…
Reference in New Issue
Block a user