Re: [Mono-list] Starting a program at boot (linux)

2011-08-29 Thread Uli Hertlein
On 08/28/2011 04:37 PM, BillC wrote: >> But running programs as root is not always a good idea, so why not try >> something like >> su yourUserName -c "mono program.exe" >> this should run the command under your login. >> > > I've tried that already, but it's still not starting my program at boot.

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread BillC
Nils Andresen-2 wrote: > > But running programs as root is not always a good idea, so why not try > something like > su yourUserName -c "mono program.exe" > this should run the command under your login. > I've tried that already, but it's still not starting my program at boot. I also couldnt fi

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
2011/8/28 BillC : > is it true that whole the startup proces runs with sudo? No. But on a very, very far abstraction it has similarities. > because i noticed i can't "sudo mono program.exe" while "mono program.exe" > is? > so how can i make "sudo mono" possible? depends on what the problem is. Bu

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread BillC
is it true that whole the startup proces runs with sudo? because i noticed i can't "sudo mono program.exe" while "mono program.exe" is? so how can i make "sudo mono" possible? -- View this message in context: http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3774431.htm

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
I am not familiar with centos, but it seems that /etc/rc.d/rc.local is the place you were looking for. 2011/8/28 BillC : > It's an amazon linux ami. It's centos based > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3774402.ht

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread BillC
It's an amazon linux ami. It's centos based -- View this message in context: http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3774402.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list mailli

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread BillC
It's an amazon linux ami. It's centos based -- View this message in context: http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3774401.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list mailli

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
which distribution are you using? ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread BillC
I'm quite new with linux. Can you be more specific? What did you exactly do? -- View this message in context: http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3774183.html Sent from the Mono - General mailing list archive at Nabble.com.

Re: [Mono-list] Starting a program at boot (linux)

2011-08-28 Thread Nils Andresen
2011/8/28 BillC : > 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 woul

[Mono-list] Starting a program at boot (linux)

2011-08-27 Thread BillC
Hi, I'm want my program to start when my linux boots. I tried to add "mono path/prog.exe" to "etc/rc.local" But nothing happens... Can someone tell me what to do? Thx -- View this message in context: http://mono.1490590.n4.nabble.com/Starting-a-program-at-boot-linux-tp3773797p3773797.html Sent