]> git.proxmox.com Git - pmg-api.git/blame - debian/pmgsync.service
nodeconfig: parse acme config before writing
[pmg-api.git] / debian / pmgsync.service
CommitLineData
dd5a3a83
DM
1[Unit]
2Description=Sync Proxmox Configuration
3ConditionPathExists=/usr/bin/pmgdb
4ConditionPathExists=/usr/bin/pmgconfig
5DefaultDependencies=no
6Wants=remote-fs.target
7After=remote-fs.target
8Wants=postgresql.service
9After=postgresql.service
10Before=postfix.service
01c5b231 11Before=postfix@-.service
dd5a3a83
DM
12Before=clamav-daemon.service
13Before=clamav-freshclam.service
14Before=pmgdaemon.service
15Before=fetchmail.service
16Before=pmgpolicy.service
17Before=pmgproxy.service
18Before=pmg-smtp-filter.service
19Before=pmgmirror.service
20
21[Service]
22ExecStart=/usr/bin/pmgdb init
8c7e9ab7 23ExecStart=/usr/bin/pmgconfig init
dd5a3a83
DM
24ExecStart=/usr/bin/pmgconfig sync
25Type=oneshot
26RemainAfterExit=yes
27
28
29[Install]
30WantedBy=multi-user.target
31