mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 21:50:46 +00:00
Alex Palaistras
50249ba987
This is to avoid starting requisite units (specifically, the MariaDB migrations) if conditions fail.
11 lines
262 B
SYSTEMD
11 lines
262 B
SYSTEMD
[Unit]
|
|
Description=Initialize Dovecot POP3/IMAP Server
|
|
Wants=dovecot.service
|
|
BindsTo=mariadb-migrate@dovecot.service
|
|
After=mariadb-migrate@dovecot.service
|
|
Before=dovecot.service
|
|
ConditionKernelCommandLine=ignition.firstboot
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|