1

[ubuntu] How to create the daemon in Ubuntu?

view story
linux-howto

http://ubuntuforums.org – Hi all, I'm trying to create the daemon in Ubuntu and it still doesn't work. :( I created the java file (it will create the new .txt file and auto increase the number in this .txt file) then I conversed to "myJava.jar" file. After that I created the abc.sh file to active above "myJava.jar" file. Then I put .sh file into /etc/init.d/abc dictionary by the script below: sudo mv abc.sh /etc/init.d/abc sudo chmod +x /etc/init.d/abc sudo update-rc.d abc defaults In the current, I only start my daemon by terminal by script: sudo /etc/init.d/abc start So, how can I do it (Hardware)