Docs: add note on encryption for Mysql DB connections
[exim.git] / configs / system-integration / systemd / maintenance / exim-maintenance.service
1 [Unit]
2 Description=Exim MTA (maintenance)
3 Documentation=man:exim
4 Documentation=https://exim.org/docs.html
5
6 [Service]
7 Type=oneshot
8 ExecReload=kill -HUP ${MAINPID}
9
10 # Dollars are doubled for systemd!
11 WorkingDirectory={{spooldir}}
12 ExecStart=sh -ec 'for db in db/* ;\
13                 do \
14                         test -f "$$db" && [ "$${db##*.}" != lockfile ] || continue ;\
15                         exim_tidydb $$PWD "$${db##*/}"; \
16                 done'
17
18 ProtectSystem=strict
19 ReadWriteDirectories={{spooldir}}/db
20
21 Slice=exim.slice
22
23 [Install]
24 WantedBy=multi-user.target