]> git.somenet.org - root/pub/somesible.git/blob - roles/server/mail/postfix/files/default/postfix@.service
[roles/client/nextcloud] install nextcloud-client
[root/pub/somesible.git] / roles / server / mail / postfix / files / default / postfix@.service
1 #
2 ################################################
3 ### Managed by someone's ansible provisioner ###
4 ################################################
5 # Part of: https://git.somenet.org/root/pub/somesible.git
6 # 2017-2024 by someone <someone@somenet.org>
7 #
8
9 [Unit]
10 Description=Postfix Mail Transport Agent (instance %i)
11 Documentation=man:postfix(1)
12 PartOf=postfix.service
13 Before=postfix.service
14 ReloadPropagatedFrom=postfix.service
15 After=network-online.target nss-lookup.target
16 Wants=network-online.target
17
18 [Service]
19 Type=forking
20 GuessMainPID=no
21 ExecStartPre=/usr/lib/postfix/configure-instance.sh %i
22 ExecStart=/usr/sbin/postmulti -i %i -p start
23 ExecStop=/usr/sbin/postmulti -i %i -p stop
24 ExecReload=/usr/sbin/postmulti -i %i -p reload
25 TimeoutStartSec=600
26 Restart=always
27 RestartSec=10
28
29 [Install]
30 WantedBy=multi-user.target