fix services
This commit is contained in:
parent
871a342f2f
commit
2f6eaab905
|
@ -5,7 +5,7 @@ Description=Smartctl Run Short Test
|
||||||
User=nagios
|
User=nagios
|
||||||
ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh long
|
ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh long
|
||||||
SyslogIdentifier=smartctl-test-disks
|
SyslogIdentifier=smartctl-test-disks
|
||||||
Restart=always
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -5,7 +5,7 @@ Description=Smartctl Run Short Test
|
||||||
User=nagios
|
User=nagios
|
||||||
ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh short
|
ExecStart=/opt/icinga2-checks/Other/smartctl-test-disks.sh short
|
||||||
SyslogIdentifier=smartctl-test-disks
|
SyslogIdentifier=smartctl-test-disks
|
||||||
Restart=always
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue