daemon: start it for dom0 unconditionnaly
This commit is contained in:
parent
49957971ff
commit
526c862b5d
@ -468,7 +468,8 @@ def main(args=None):
|
|||||||
only_if_service_enabled = ['guivm-gui-agent', 'audiovm-audio-agent']
|
only_if_service_enabled = ['guivm-gui-agent', 'audiovm-audio-agent']
|
||||||
enabled_services = [service for service in only_if_service_enabled if
|
enabled_services = [service for service in only_if_service_enabled if
|
||||||
os.path.exists('/var/run/qubes-service/%s' % service)]
|
os.path.exists('/var/run/qubes-service/%s' % service)]
|
||||||
if not enabled_services and '--force' not in sys.argv:
|
if not enabled_services and '--force' not in sys.argv and \
|
||||||
|
not os.path.exists('/etc/qubes-release'):
|
||||||
print(parser.format_help())
|
print(parser.format_help())
|
||||||
return
|
return
|
||||||
args = parser.parse_args(args)
|
args = parser.parse_args(args)
|
||||||
|
Loading…
Reference in New Issue
Block a user