Startup Scripts
I am going to be running a game server on a dedicated server I am renting. It is running Debian (Sarge) and I would like to set my server to startup automatically after rebooting the machine. I was told I want to make sure it runs on an unprivaledged user but I am not sure what that means and I have no idea how to set this to startup automatically. Could anybody tell me how I would tell Linux to run /usr/games/ut/launchit upon boot on an unprivaledged user?
|
If the username you want to use is games, then put the following in your startup scripts:
Code:
su - games -c /usr/games/ut/launchit Code:
/etc/rc.d/rc.local |
Quote:
alternative: U can add script program at /etc/bashrc or xsession (eg /home/user/.xsession) and add your games appliation at the bottom line, remember to add & at the end of command |
All times are GMT -5. The time now is 07:51 AM. |