]>
Commit | Line | Data |
---|---|---|
6675a064 DM |
1 | [Unit] |
2 | Description=PVE API Proxy Server | |
3 | ConditionPathExists=/usr/bin/pveproxy | |
f01a63eb | 4 | Wants=pve-cluster.service |
6675a064 | 5 | Wants=pvedaemon.service |
df17e52e | 6 | Wants=ssh.service |
c6723ee5 WL |
7 | Wants=pve-storage.target |
8 | After=pve-storage.target | |
6675a064 DM |
9 | After=pve-cluster.service |
10 | After=pvedaemon.service | |
df17e52e | 11 | After=ssh.service |
6675a064 DM |
12 | |
13 | [Service] | |
57f110df | 14 | ExecStartPre=-/usr/bin/pvecm updatecerts --silent |
32607384 DM |
15 | ExecStart=/usr/bin/pveproxy start |
16 | ExecStop=/usr/bin/pveproxy stop | |
17 | ExecReload=/usr/bin/pveproxy restart | |
4f1b4dd7 | 18 | PIDFile=/run/pveproxy/pveproxy.pid |
6675a064 | 19 | Type=forking |
4fd2027e | 20 | Restart=on-failure |
6675a064 DM |
21 | |
22 | [Install] | |
23 | WantedBy=multi-user.target |