Am 21.11.2013 12:36, schrieb Darac Marjal:
On Thu, Nov 21, 2013 at 12:15:57PM +0100, Florian Lindner wrote:
Hello,

I want to give users the possbility to autostart programms on boot.
My first idea would be to put a line like that in /etc/rc.local

[cut]

So that a blocking script does not block the rc.local file. Should I
also add a nohup? Or another way?

You could teach your users to add programs to their crontab.

 $ crontab -e

will open an editor (specified by the $EDITOR variable) with the user's
crontab. Adding a line such as "@reboot /home/flindner/mydaemon.sh" will
cause mydaemon.sh to be run as the user upon reboot.

Cool, didn't know about that!

Regards,
Florian


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/60894b355828b558e0244a0a96fb2...@xgm.de

Reply via email to