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