genvid.toolbox.SystemdTool

class genvid.toolbox.SystemdTool(**kwargs)

ベースクラス: genvid.toolbox.service.ServiceTool

systemd の Linux サーバー用基本 ServiceTool

BASE_COMMANDS = {'start': 'Start an installed service.', 'stop': 'Stop a service.', 'restart': 'Restart a service.', 'status': 'Check the status of the service.', 'install': 'Install the service.', 'uninstall': 'Uninstall the service.', 'reinstall': 'Reinstall the services.', 'prestart': 'Any updates to run before start.', 'poststart': 'Do any post-start setup necessary.'}
install(**config)
uninstall(clean: bool = False)
start()
stop()
status()