Comments on: Starting irssi in screen at reboot http://blog.gorwits.me.uk/2011/03/27/starting-irssi-in-screen-at-reboot/?utm_source=rss&utm_medium=rss&utm_campaign=starting-irssi-in-screen-at-reboot by Oliver Gorwits Sun, 29 Dec 2013 17:47:01 +0000 hourly 1 http://wordpress.org/?v=3.6.1 By: Oliver Gorwits http://blog.gorwits.me.uk/2011/03/27/starting-irssi-in-screen-at-reboot/#comment-129 Oliver Gorwits Wed, 05 Sep 2012 12:28:45 +0000 http://blog.gorwits.me.uk/?p=449#comment-129 Hi Mark,

The example I give in the post above is for a user’s own crontab, so there’s no need to specify the username. The screen/irssi session will be started “as” that user automatically. That is, run the “crontab -e” command as “youruser”.

If you want to do something globally on the server for one or more users, then I’d try creating a file in /etc/cron.d/ and adding the “username” field, like this:

@reboot youruser /usr/bin/screen -dmUS irc /usr/bin/irssi

I hope this helps.

]]>
By: markdark http://blog.gorwits.me.uk/2011/03/27/starting-irssi-in-screen-at-reboot/#comment-126 markdark Thu, 30 Aug 2012 13:56:05 +0000 http://blog.gorwits.me.uk/?p=449#comment-126 What about starting irssi for the correct user at reboot? Would it then be:
@reboot /bin/su -c “/usr/bin/screen -dmUS irc /usr/bin/irssi” youruser

]]>