summaryrefslogtreecommitdiff
path: root/net-mail/stalwart-mail/files/stalwart-mail.initd
blob: 2b03f9eb7d232c841baf7db08bb4a68d69a0221d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/sbin/openrc-run
# Copyright 2007-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

command=${RC_PREFIX}/usr/bin/stalwart-mail
pidfile=${RC_PREFIX}/var/run/stalwart-mail/pid
command_args="--config /opt/stalwart-mail/etc/config.toml"
command_background="yes"
name="Stalwart mail server"

depend()
{
	need net
	use postgresql mysql
	before provide mta
}