# Copyright (C) Inverse inc.
[Unit]
Description=PacketFence GO DHCPv4 Server Daemon
Wants=packetfence-keepalived.service packetfence-base.target packetfence-config.service packetfence-iptables.service
After=packetfence-keepalived.service packetfence-base.target packetfence-config.service packetfence-iptables.service
Before=packetfence-httpd.portal.service

[Service]
StartLimitBurst=3
StartLimitInterval=60
Type=notify
WatchdogSec=30s
Environment=LOG_LEVEL=INFO
EnvironmentFile=-/usr/local/pf/conf/pfdhcp.conf
ExecStart=/usr/local/pf/sbin/pfdhcp
Restart=on-failure
Slice=packetfence.slice

[Install]
WantedBy=packetfence.target
