[03:32] <ko_lo> hallyn: I've to set it befire running initctl or running initctl set it for me?
[03:32] <ko_lo> because I didn't set it, I wasn't aware of it
[03:35] <ko_lo> so in order to init the job, I need to set thos var, fo the initctl checkconf thing and then it should work?
[03:37] <hallyn> ko_lo: as an example, I have ~/bin/start_upstart_job as http://paste.ubuntu.com/24431042/  
[03:38] <hallyn> it's possible that unity desktop sets it for you.  i'm running different wm so i have to do it all by hand
[03:39] <ko_lo> yeah but my goal is to have it run as desktop-start
[03:39] <ko_lo> so if I follow this, it will be started by the script? or I'm mossing something
[03:41] <ko_lo> https://0bin.net/paste/zaUN7E9bb+v1jcyC#A4Pb7ubYX2CkBI9kt4fiN1dLQB46ifxq6apOWGuOULe this is my script
[03:43] <ko_lo> I want to run it when the user end his session. internet told me to use upstart but perhaps I got the whole thing wrong :)
[04:00] <hallyn> your bin requires js
[06:50] <ko_lo> ywah it's unvrypted client side. hold on I'll upload somewhere else.
[06:52] <ko_lo> http://paste.ubuntu.com/24431724/
[16:05] <hallyn> ko_lo: hm.  looks fine - though maybe you want to make it 'start on starting desktop-stop', that way desktop-stop won't actually start until your job is done?