Line 47:
Line 47:
====start at boot time====
====start at boot time====
now when you launch the command above your JD instance is able to run. we have to create an init script to run JD at the boot time
now when you launch the command above your JD instance is able to run. we have to create an init script to run JD at the boot time
+
* create the jdownloader system user
* create the jdownloader system user
/sbin/e-smith/create-system-user jdownloader 810 "Jdownloader server" /usr/share/JD2/ /bin/false
/sbin/e-smith/create-system-user jdownloader 810 "Jdownloader server" /usr/share/JD2/ /bin/false
+
+
* set good ownership
+
chown jdownloader:jdownloader /usr/share/JD2/ -R
+
* create the db entry
* create the db entry
db configuration set jdownloader service status enabled
db configuration set jdownloader service status enabled
+
* create the initscript
* create the initscript
vim /etc/rc.d/init.d/jdownloader
vim /etc/rc.d/init.d/jdownloader