Re: [Kea-users] Auto start

2016-07-20 Thread Todd Simmons (todsimmo)
Klaus, Thanks for the info. I did try the following: Added a new user: adduser kea -s /sbin/nologin Created the file: /etc/systemd/system/kea.service [Unit] Description=kea Service After=network.target [Service] Type=simple User=kea ExecStart=/usr/local/sbin/keactrl start Restart=on-abort

Re: [Kea-users] Auto start

2016-07-20 Thread Klaus Steden
CentOS 7 uses systemd. I'm by no means an expert on it, but you may be able to shoehorn systemd into thinking that it's a managed service (there's apparently legacy support for SVR4-style init scripts) using systemctl. Again, being still new to systemd myself, I can't really offer much useful

Re: [Kea-users] Auto start

2016-07-20 Thread Tobias -
Hi Todd! I've tried to do the same thing. I tried to adapt Kea to systemd but I was unable to get satisfying results using keactrl so I opted to skip that step and run the services directly and I wrote a service file for each one. I also changed the logger configuration to output all logging