I need to kick off some processes on server boot, but I need them to run as a specific user. At the moment I only have a load startup.sh's lying around.
Server is Ubuntu 8.04
|
I need to kick off some processes on server boot, but I need them to run as a specific user. At the moment I only have a load startup.sh's lying around. Server is Ubuntu 8.04
| |||
|
feedback
|
|
As an alternative option, you can put it in the specific user's crontab, like this:
Edit: Before I forget, as root, you can edit a specific user's crontab with
More documentation at Debian Administration. | |||
feedback
|
|
The short answer is to put a
in the ubuntu equivalent of rc.local. See this RcLocalHowto to prepare your system to have its local init script | ||||
|
feedback
|