Koozali.org: home of the SME Server

Start program automatically at system startup

moenster

Start program automatically at system startup
« on: April 17, 2005, 04:05:03 PM »
Hi

How do I make e.g. teamspeak start automatically at system startup? It should start as a normal user, and not as root.

Regards Henrik

moenster

Start program automatically at system startup
« Reply #1 on: April 17, 2005, 04:06:29 PM »
Forgot to say, that it is on SME 6.01-01.

/Henrik

Offline hmuhammad

  • ***
  • 65
  • +0/-0
Start program automatically at system startup
« Reply #2 on: April 18, 2005, 08:10:52 PM »
assuming when logged on as user1 it is started at the command line with...

teamspeak arg1 arg2

then try adding the following to /etc/rc.d/rc.local

# start teamspeak
su -l -s /bin/bash -c "teamspeak arg1 arg2" user1
...............