mirror of
https://github.com/CopterExpress/clover.git
synced 2026-05-26 21:19:35 +00:00
selfcheck.py: check clever.service failed to run
This commit is contained in:
@@ -626,8 +626,10 @@ def check_clever_service():
|
||||
failure('systemctl returned %s: %s', e.returncode, e.output)
|
||||
return
|
||||
if 'inactive' in output:
|
||||
failure('clever.service is not running, try sudo systemctl restart clever')
|
||||
failure('service is not running, try sudo systemctl restart clever')
|
||||
return
|
||||
elif 'failed' in output:
|
||||
failure('service failed to run')
|
||||
|
||||
try:
|
||||
from systemd import journal
|
||||
|
||||
Reference in New Issue
Block a user