genvid.toolbox.SystemdInstaller
- class genvid.toolbox.SystemdInstaller(**kwargs)
ベースクラス:
LinuxServiceInstaller
systemd の
LinuxServiceInstaller
用基本ServiceInstaller
。- NAME = 'systemd-installer'
このツールのロガー名。子 class (children) で再定義する必要があります。
- DESCRIPTION = 'Installation of services on Systemd Linux.'
ヘルプパーサーで使用されるツールの説明。子 class (children) で再定義する必要があります。
- BASE_COMMANDS = {'install': 'Install the service.', 'poststart': 'Do any post-start setup necessary.', 'prestart': 'Any updates to run before start.', 'reinstall': 'Reinstall the services.', 'restart': 'Restart a service.', 'start': 'Start an installed service.', 'status': 'Check the status of the service.', 'stop': 'Stop a service.', 'uninstall': 'Uninstall the service.'}
ベースコマンドのリストと、サービスのヘルプテキスト。