fix bug #979816 init script incorrect pid place
hi @markus the incorrect pid dir is set in init script.. seems debian previous mantainers does not care init scripts .. this is bad! https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979816
since the commit 537a612bd8ee2734d830e324479f05c1a97b7f2d everithing is working nasty! but i already tested so many things.. is hard cos shitstemd is a invasive thing...
seems init script does not care about pid checks cos upstream daemon is already a script that use "exec" so control are not real.. for upstream i filed the mail: https://markmail.org/message/njbptqyawenfgz3x#query:+page:1+mid:ujohkrf7fccyqsjt+state:results asking about permissions and runtime checks, also output redirection
also we need to check removal of the pid file .. upstream does not use that and taking in consideration debian dont want to follow upstream directions (i do not understand why do not use the init script but in flavour of that i filed the mail), i checked if daemon is started or stoped correctly and removes the pid file!
of course i checked that all the needs is working (not just make patchs)