o
    rMfÿ  ã                   @   s    d dl mZ G dd„ deƒZdS )é    )Ú
ScriptBasec                   @   sB   e Zd ZdZddd„Zdd„ Zdd„ Zd	d
„ Zdd„ Zdd„ Z	dS )Ú	Installerz,
    Abstract base class for installers
    Nc
           
      C   ó   t ‚)z5
        Add an entry to the system crontab.
        ©ÚNotImplementedError)
ÚselfÚnameÚminuteÚhourÚmdayÚmonthÚwdayÚwhoÚcommandÚenv© r   ú`/var/www/html/analyze/labelStudio/lib/python3.10/site-packages/boto/pyami/installers/__init__.pyÚadd_cron   ó   zInstaller.add_cronc                 C   s   dS )z7
        Add this file to the init.d directory
        Nr   )r   Úfiler   r   r   Úadd_init_script$   s    zInstaller.add_init_scriptc                 C   r   )z-
        Add an environemnt variable
        r   )r   ÚkeyÚvaluer   r   r   Úadd_env)   r   zInstaller.add_envc                 C   r   )z!
        Stop a service.
        r   ©r   Úservice_namer   r   r   Ústop/   r   zInstaller.stopc                 C   r   )z"
        Start a service.
        r   r   r   r   r   Ústart5   r   zInstaller.startc                 C   r   )zD
        Do whatever is necessary to "install" the package.
        r   )r   r   r   r   Úinstall;   r   zInstaller.install)N)
Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r   r   r   r   r   r      s    
r   N)Úboto.pyami.scriptbaser   r   r   r   r   r   Ú<module>   s   