=== 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 |
---|---|---|
jhunt | right | 13:12 |
TJ__ | thanks | 13:24 |
reed | how would I cd to a directory and execute a command as user "nobody"? | 19:24 |
ion | exec su -s /bin/sh -ec 'cd /path; exec "$0" "$@"' username -- command arg arg | 19:43 |
ion | probably | 19:43 |
reed | that works, and I found the command chdir | 19:53 |
ion | I 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!