I recently had to setup a NoIP2 client on a system for which no package exists. As it's a Debian based distro, I felt pretty safe using the instructions for Ubuntu 12.04 LTS.(about part way down the page). In short, it's a locally compiled process. This is great for getting a running client, but the scripts I could find for automatically starting the client at reboot weren't quite what I thought acceptable. When I tried to finish the setup with update-rc, there were errors about missing lsb tags and the client was running under an id with more privileges than it should ever have.
I created a user named noip, limited its access to the two files necessary to run and then wrote a lsb compliant init script and installed it.
Download complete script from here.
No comments:
Post a Comment