Y/d r d dl Z d dlmZmZ dZdZdZdZdZdZ d Z
d
ZdZdd
Z
ed d ZdS ) N)taskrunmaskedstoppedunmaskedrunningfailedinactiveactiveenableddisabled is-activec b t d|| dz g }|j }|S )zZ
Get information about systemctl service state
(either activity or enability)
systemctl.service)r stdoutstrip)servicekindresultstates py/clconfigure/services.pyget_service_stater s5
+tWz%9:
;
;FM!!EL z