Files
bongo/init/bongo-spamassassin-update.service.in
T
2026-07-19 09:43:08 +02:00

44 lines
1.6 KiB
Plaintext

# /****************************************************************************
# * <Novell-copyright>
# * Copyright (c) 2001 Novell, Inc. All Rights Reserved.
# *
# * This program is free software; you can redistribute it and/or
# * modify it under the terms of version 2 of the GNU General Public License
# * as published by the Free Software Foundation.
# *
# * This program is distributed in the hope that it will be useful,
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# * GNU General Public License for more details.
# *
# * You should have received a copy of the GNU General Public License
# * along with this program; if not, contact Novell, Inc.
# * </Novell-copyright>
# ****************************************************************************/
[Unit]
Description=Update Bongo SpamAssassin extra rule channels
Documentation=https://gitea.disconnected-by-peer.at/geos_one/bongo
Wants=network-online.target
After=network-online.target spamassassin.service spamd.service
ConditionPathExists=@XPL_DEFAULT_CONF_DIR@/spamassassin.d/channels
[Service]
Type=oneshot
User=root
ExecStart=@LIBEXEC_INSTALL_DIR@/bongo/bongo-spamassassin-update
TimeoutStartSec=15min
UMask=0077
NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ProtectControlGroups=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
LockPersonality=true
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
ReadWritePaths=-/var/lib/spamassassin -/var/db/spamassassin -/etc/mail/spamassassin/sa-update-keys -/etc/spamassassin/sa-update-keys