Files
bongo/init/bongo.service.in
T
2026-07-18 22:29:44 +02:00

50 lines
1.7 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.
# *
# * To contact Novell about this file by physical or electronic mail, you
# * may find current contact information at www.novell.com.
# * </Novell-copyright>
# ****************************************************************************/
[Unit]
Description=Bongo mail and calendar server
Documentation=https://gitea.disconnected-by-peer.at/geos_one/bongo
Wants=network-online.target
After=network-online.target nss-lookup.target local-fs.target clamd.service clamav-daemon.service spamassassin.service spamd.service
[Service]
Type=simple
ExecStartPre=@SBIN_INSTALL_DIR@/bongo-admin config check
ExecStart=@SBIN_INSTALL_DIR@/bongo-manager -k
ExecReload=/bin/kill -USR1 $MAINPID
Restart=on-failure
RestartSec=5s
TimeoutStartSec=60s
TimeoutStopSec=45s
KillMode=control-group
KillSignal=SIGTERM
UMask=0077
LimitNOFILE=65536
TasksMax=4096
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=full
ReadWritePaths=@XPL_DEFAULT_STATE_DIR@ @XPL_DEFAULT_SSL_DIR@
[Install]
WantedBy=multi-user.target