Restart in systemd units changed to "always"
This commit is contained in:
parent
4cf185bd70
commit
3dc3d2c45f
3 changed files with 6 additions and 3 deletions
|
@ -1,12 +1,13 @@
|
|||
[Unit]
|
||||
Description=NetXMS agent
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/nxagentd -S
|
||||
PIDFile=/var/run/nxagentd.pid
|
||||
LimitCORE=infinity
|
||||
Restart=on-failure
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
[Unit]
|
||||
Description=NetXMS reporting server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/nxreportd
|
||||
Restart=on-failure
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
[Unit]
|
||||
Description=NetXMS core server
|
||||
After=network.target
|
||||
# StartLimitIntervalSec=0 # since systemd v230
|
||||
|
||||
[Service]
|
||||
|
@ -8,7 +9,7 @@ ExecStart=/usr/bin/netxmsd -S
|
|||
PIDFile=/var/run/netxmsd.pid
|
||||
LimitNOFILE=65535
|
||||
LimitCORE=infinity
|
||||
Restart=on-failure
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
TimeoutSec=900
|
||||
StartLimitInterval=0 # depricated in v230
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue