Isn't there already an rc script? I'm running gentoo and to restart I just /etc/init.d/gnump3d restart and to run at boot rc-update add gnump3d default
and I didn't write that script myself Stan Mulder-2 wrote: > > To kill gnump3d I run 'ps aux' and look for gnump3d in the results, get > it's pid number and kill it via 'kill -9 <pid#> as root' > > To run the program again just type this as root at the command line: > > /usr/bin/gnump3d --fast --background > > The same string can be put into rc.local so the program will start on > every reboot. The 'background' option runs the process as a daemon and > is essentially the same as ending the command with the ampersand (&). > The 'fast' option tells the program to NOT reindex the list of songs. > You only need to do that when you add songs, otherwise it is a waste of > time. I think the default behavior should be not to index unless told to > do so. > > Stan > > > _______________________________________________ > Gnump3d-users mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnump3d-users > > -- View this message in context: http://www.nabble.com/How-to-restart-gnump3d--t1343008.html#a3681199 Sent from the GnuMP3D - Users forum at Nabble.com. _______________________________________________ Gnump3d-users mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnump3d-users
