On Thu, Feb 3, 2011 at 8:34 AM, Roger Searle <[email protected]> wrote: > Hi, I have an OpenVPN server installed and configured on Ubuntu 10.10 > and works well (clients can connect), except it doesn't start > automatically. It starts fine from the command line, and I see that in > /etc/init.d I have openvpn, and in each of /etc/rc2.d, rc3.d, rc4.d and > rc5.d there is a "S16openvpn -> ../init.d/openvpn" link. > > What do I need to do or where do I need to look to have the server start > automatically to run as a daemon or service?
Generally, just put the server config file into /etc/openvpn, called_something_.conf The init script isn't OpenVPN itself, it's just a script that searches for config files and invokes OpenVPN with them, if they are there. -jim > > I'm not clear from my googling just what needs to happen, aside from > perhaps it needs to be further down the boot order via S99 instead of an > S16, though I'm unsure of the best way of implementing this or if > there's other issues I need to understand. > > Cheers, > Roger > > > _______________________________________________ > Linux-users mailing list > [email protected] > http://lists.canterbury.ac.nz/mailman/listinfo/linux-users > _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
