OMERO systemd units








  • Systemd unit for OMERO.server:
    cat /lib/systemd/system/omero.service
    [Unit]
    Description=OMERO Server
    Wants=remote-fs.target postgresql.service
    After=remote-fs.target postgresql.service
       
    [Service]
    Type=forking
    ExecStart=/etc/init.d/omero start
    ExecStop=/etc/init.d/omero stop
    
    [Install]
    WantedBy=multi-user.target
    
  • Systemd unit for OMERO.web:
    cat /lib/systemd/system/omero-web.service
    [Unit]
    Description=OMERO web
    Wants=nginx.service omero.service
    After=nginx.service omero.service
       
    [Service]
    Type=forking
    ExecStart=/etc/init.d/omero-web start
    ExecStop=/etc/init.d/omero-web stop
    
    [Install]
    WantedBy=multi-user.target
    



No comments:

Post a Comment