forked from pool/amavisd-milter
8090508b09
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/908834 OBS-URL: https://build.opensuse.org/package/show/server:mail/amavisd-milter?expand=0&rev=3
26 lines
604 B
Desktop File
26 lines
604 B
Desktop File
[Unit]
|
|
Description=Amavisd Milter
|
|
Requires=amavis.service
|
|
Before=mail-transfer-agent.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
|
|
PIDFile=/var/spool/amavis/amavisd-milter.pid
|
|
ExecStart=/usr/sbin/amavisd-milter
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
User=vscan
|
|
Group=vscan
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|