Üdv mindenkinek!
HOgyan tudok /etc/Init.d hez programot hozzá adni ha az a /home/tomcsi1987/v/ ben van?
+ a programnak van egy config fájla, és a simán átmásolnám a futtatható fájlt akkor elvileg nem találna confot:(
Hogy lehet ezt megoldani?:)
Esetleges restartnál kellene elindulnia a programnak magától
- 1614 megtekintés
Hozzászólások
http://www.linux.com/archive/articles/46892
http://www.novell.com/documentation/suse91/suselinux-adminguide/html/ch…
http://aplawrence.com/Basics/unix-startup-scripts-1.html
http://wiki.linuxquestions.org/wiki/Creating_Startup_Scripts
https://help.ubuntu.com/community/UbuntuBootupHowto
http://www.debian-administration.org/article/Making_scripts_run_at_boot…
http://kbase.redhat.com/faq/docs/DOC-4904
stb.
- A hozzászóláshoz be kell jelentkezni
Találtam egy leírást és ez alapján sikerült:
Example startup scripts:
The following script is an example of starting Linux based server(s) from the "/etc/rc.d/rc.local" file when a system is booted. Notice that they are started with the specific user account called "ventrilo" and the process priority is bumped to higher then normal.
# Startup ventrilo servers.
VENPATH=/home/ventrilo
VENBIN=$VENPATH/ventrilo_srv
su ventrilo -c "$VENBIN -f$VENPATH/ventrilo_srv -d"
renice -5 `cat $VENPATH/ventrilo_srv.pid`
- A hozzászóláshoz be kell jelentkezni