Screen inside Jails + su
mla at nasreddine.com
Wed Apr 9 19:05:59 UTC 2008
This One Time, at Band Camp, Erik Osterholm <freebsd-lists-erik at erikosterholm.org> said, On Wed, Apr 09, 2008 at 01:42:16PM -0500:
> At your shell prompt, type:
> man 5 crontab
> You'll find the man page for the crontab file, which includes multiple
> examples of cron entries. All of those use the time specification,
> though, rather than the @reboot keyword.
> An example using @reboot:
> @reboot /usr/local/bin/screen -d -m Rtorrent
> You can edit the crontab for the user with this command at your shell
> crontab -u username -e
> This will dump you into your editor, editing the crontab file for the
> user "username". Type in the crontab entry (for example, the one I
> used as an example above), save, and try restarting the jail.
Thank you, I googled a bit yesterday actually and now it's working
I use linux since 6 years and I've never seen this reboot command
actually, but I'm used to cron, but thanks a lot for pointing this out,
it's very useful :)
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2
/<o>\ The mark of a good party is that you wake up the next morning wanting to
/<o>\ change your name and start a new life in different city.
/<o>\ -- Vance Bourjaily, "Esquire"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080409/94eef747/attachment.pgp
More information about the freebsd-questions