fix systemd warning about PIDFile directory
[pve-firewall.git] / debian / pve-firewall.service
1 [Unit]
2 Description=Proxmox VE firewall
3 ConditionPathExists=/usr/sbin/pve-firewall
4 Wants=pve-cluster.service pvefw-logger.service
5 After=pvefw-logger.service pve-cluster.service network.target systemd-modules-load.service
6 DefaultDependencies=no
7 Before=shutdown.target
8 Conflicts=shutdown.target
9
10 [Service]
11 ExecStart=/usr/sbin/pve-firewall start
12 ExecStop=/usr/sbin/pve-firewall stop
13 ExecReload=/usr/sbin/pve-firewall restart
14 PIDFile=/run/pve-firewall.pid
15 Type=forking
16
17 [Install]
18 WantedBy=multi-user.target