[Mono-list] Starting a program at boot (linux)
Nils Andresen
nils at nils-andresen.de
Sun Aug 28 05:35:25 EDT 2011
2011/8/28 BillC <cheng.bill88 at gmail.com>:
> I'm want my program to start when my linux boots.
> Can someone tell me what to do?
That would really depend on your distro.
I'm running gentoo, so I'd create two scripts - one for starting and
one for stopping.
starting would be in /etc/local.d/prog.exe.start and stopping would be
in /etc/local.d/prog.exe.stop
after that I'd had to make sure that /etc/init.d/local would be running at boot.
More information about the Mono-list
mailing list