nuka.tasks.service

services related tasks

nuka.tasks.service.reload

nuka.tasks.service.reload(services=None, **kwargs)[source]

reload one or more service

nuka.tasks.service.restart

nuka.tasks.service.restart(services=None, **kwargs)[source]

restart one or more service

Example:

await service.restart('rsync')

nuka.tasks.service.start

nuka.tasks.service.start(name=None, **kwargs)[source]

ensure a service is started

Example:

await service.start('rsync')

nuka.tasks.service.stop

nuka.tasks.service.stop(name=None, **kwargs)[source]

ensure a service is stoped

Example:

await service.stop('rsync')