2012-06-26 08:55:51 +00:00
|
|
|
# This file is part of package amavisd.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 SuSE LINUX Products GmbH, Germany.
|
|
|
|
# Author: Werner Fink
|
|
|
|
# Please send feedback to http://www.suse.de/feedback
|
|
|
|
#
|
|
|
|
# Description:
|
|
|
|
#
|
|
|
|
# Used to start the spamd the daemonized version of spamassassin
|
|
|
|
# spamassassin adds a header line that shows if the mail has been
|
|
|
|
# determined spam or not. This way, you can decide what to do with the
|
|
|
|
# mail within the scope of your own filtering rules in your MUA (Mail
|
|
|
|
# User Agent, your mail program) or your LDA (Local Delivery Agent).
|
|
|
|
#
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Daemonized version of spamassassin
|
2017-11-21 14:52:52 +00:00
|
|
|
Wants=remote-fs.target network.target
|
|
|
|
After=remote-fs.target network.target
|
2012-06-26 08:55:51 +00:00
|
|
|
Before=mail-transfer-agent.target
|
|
|
|
|
|
|
|
[Service]
|
2021-11-22 09:40:17 +00:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2012-06-26 08:55:51 +00:00
|
|
|
Type=forking
|
2019-11-08 07:58:48 +00:00
|
|
|
PIDFile=/run/spamd.pid
|
2012-06-26 08:55:51 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/spamd
|
2019-11-08 07:58:48 +00:00
|
|
|
ExecStart=/usr/sbin/spamd $SPAMD_ARGS -r /run/spamd.pid
|
2015-02-03 10:28:27 +00:00
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
2012-06-26 08:55:51 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|