/srv/irclogs.ubuntu.com/2011/10/03/#upstart.txt

=== jhunt changed the topic of #upstart to: 'Upstart 1.3 "Concordia" | http://upstart.at/ | http://upstart.ubuntu.com/cookbook/ | Post to mailing list if no response here: http://bit.ly/ooeNVv'
=== jhunt changed the topic of #upstart to: Upstart 1.3 "Concordia" | http://upstart.at/ | http://upstart.ubuntu.com/cookbook/ | Post to mailing list if no response here: http://bit.ly/ooeNVv
TJ__if i want to upstart something when dbus is started, the syntax would be: start on started dbus      right ?13:11
jhuntright13:12
TJ__thanks13:24
reedhow would I cd to a directory and execute a command as user "nobody"?19:24
ionexec su -s /bin/sh -ec 'cd /path; exec "$0" "$@"' username -- command arg arg19:43
ionprobably19:43
reedthat works, and I found the command chdir19:53
ionI wasn’t sure whether su changes the directory. Probably not without --login.20:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!