Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Systemd dhcpd and dhclient services?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
bigmauler
Apprentice
Apprentice


Joined: 25 Apr 2005
Posts: 177
Location: Seattle, WA

PostPosted: Thu Jul 19, 2012 4:27 pm    Post subject: Systemd dhcpd and dhclient services? Reply with quote

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
View user's profile Send private message
bigmauler
Apprentice
Apprentice


Joined: 25 Apr 2005
Posts: 177
Location: Seattle, WA

PostPosted: Fri Jul 20, 2012 12:59 am    Post subject: Reply with quote

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(8) 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum