View previous topic :: View next topic |
Author |
Message |
bigmauler Apprentice
Joined: 25 Apr 2005 Posts: 177 Location: Seattle, WA
|
Posted: Thu Jul 19, 2012 4:27 pm Post subject: Systemd dhcpd and dhclient services? |
|
|
I've been unable to find a gentoo related systemd service script for dhclient and the dhcp server. Does anyone know where one is? _________________ Never take raisins from a rabbit |
|
Back to top |
|
|
bigmauler Apprentice
Joined: 25 Apr 2005 Posts: 177 Location: Seattle, WA
|
Posted: Fri Jul 20, 2012 12:59 am Post subject: |
|
|
well I managed to find fedora's version of the script but it needs some work. I've modified it a little but it still fails when I try to start it via systemctl enable dhcpd.service
[Unit]
Description=DHCPv4 Server Daemon
#Documentation=man:dhcpd( man:dhcpd.conf(5)
After=network.target
[Service]
#EnvironmentFile=/etc/dhcp/dhcpd.conf
ExecStart=/usr/sbin/dhcpd -q -d -cf /etc/dhcp/dhcpd.conf -user dhcp -group dhcp --no-pid $DHCPDARGS
[Install]
WantedBy=multi-user.target _________________ Never take raisins from a rabbit |
|
Back to top |
|
|
|