[12:11] # status vsftpd [12:11] vsftpd start/running [12:11] is upstart's fault? [12:12] the process id isn't shown and actually vsftpd doesn't start. [12:51] hi guys, does anyone know what this mean? "main process terminated with status 1" what does 1 mean? [12:51] I knew state 127 means an error [13:02] can anyone take a look at this script please? it'll exit with a 127 status https://gist.github.com/marianogg9/11371260 [13:08] marianogg9, on ubuntu at least, default shell is dash and it doesn't support "source" [13:08] marrusl: mine is centos [13:08] marianogg9, use the env or export stanzas for variables [13:08] still might not be bash [13:09] 127 is command not found so it makes sense [13:09] default system shell i should say, default user shell could be something else. [13:09] http://upstart.ubuntu.com/cookbook/#job-environment [13:09] but..it does work typing it manually thougj [13:10] *though [13:10] your shell is probably bash [13:11] upstart uses /bin/sh what is that pointing to? [13:11] marrusl: bash [13:13] anyway..env is (at least in the example) for particular var definitions like PATH=value..I need to export a whole file [13:13] marrusl: ^^ [13:17] marianogg9, not sure. although bash can behave differently when invoked as /bin/sh. you might get the same command-not-found if you run it manually and explicitly with /bin/sh instead of just executing it [13:35] marrusl: besides /bin/sh matter, do you know how to export a file.env? [14:03] marianogg9: I explained to you how to do that last Thurday. Did you read the links I sent explaining how to debug a job that does not run as expected? [14:06] jodh: oh..you're right, sorry [14:31] jodh: "+ rvm 2.0 /dev/fd/11: line 4: rvm: command not found" [14:31] looks like it cannot find "rvm" command? [14:32] I used "exec > /tmp/my_service.log 2>&1 set -x" in my script and got that error [14:32] marianogg9: in which case, you'll either need to specify the full path to that command, or add the directory to $PATH. The former is safer though. [17:06] jodh: is there a limit for the amount of var i can env/export ? === lazypower-travel is now known as lazyPower [17:40] jodh: ^^ [23:09]   irc://irc.freenode.net:6667/# invoke salt-minion via su so that /etc/environment is read [23:09]   exec su -c salt-minion [23:09] does that trick work on Trusty?