forked from pool/libvma
789a4a822c
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/923293 OBS-URL: https://build.opensuse.org/package/show/science:HPC/libvma?expand=0&rev=24
32 lines
747 B
Desktop File
32 lines
747 B
Desktop File
[Unit]
|
|
Description=VMA Monitoring Daemon
|
|
StopWhenUnneeded=no
|
|
DefaultDependencies=no
|
|
# Ensure required kernel modules are loaded before starting
|
|
Wants=rdma-load-modules@rdma.service
|
|
After=rdma-load-modules@rdma.service
|
|
# After basic RDMA hw setup.
|
|
After=rdma-hw.target
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
PrivateDevices=true
|
|
ProtectHostname=true
|
|
ProtectClock=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=simple
|
|
Restart=on-failure
|
|
ExecStart=/usr/sbin/vmad
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|