2019-10-31 10:35:36 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Orthanc DICOM server
|
|
|
|
Documentation=man:orthanc(1) http://www.orthanc-server.com/
|
|
|
|
After=syslog.target network.target
|
2020-04-05 08:00:57 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
# some security settings
|
2020-03-27 16:55:13 +00:00
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=true
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
MountFlags=private
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
2021-10-16 19:40:14 +00:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2020-03-27 16:55:13 +00:00
|
|
|
MemoryDenyWriteExecute=true
|
2019-10-31 10:35:36 +00:00
|
|
|
|
|
|
|
Type=simple
|
|
|
|
User=orthanc
|
|
|
|
Group=orthanc
|
|
|
|
ExecStart=/usr/sbin/orthanc /etc/orthanc/
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|