Skip to content

Commit

Permalink
Merge pull request #141 from sbesson/systemd_config_hardening
Browse files Browse the repository at this point in the history
Systemd configuration file hardening
  • Loading branch information
sbesson committed May 13, 2024
2 parents 69f618d + b605694 commit d5efcc6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/dist/omero-ms-image-region.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[Unit]
Description=OMERO image region microservice server
Requires=redis.service
Requires=multi-user.target
After=multi-user.target
After=network.service

[Service]
Expand All @@ -11,6 +12,8 @@ ExecStart=/opt/omero/OMERO.ms/omero-ms-image-region/current/bin/omero-ms-image-r
User=omero
Group=omero
Restart=no
LimitNPROC=16384
LimitNOFILE=16384

[Install]
WantedBy=multi-user.target

0 comments on commit d5efcc6

Please sign in to comment.