Re: init script cannot stop pid process

2015-02-12 Thread Ferenc Wagner
Mateusz Łukasik writes: > On 12.02.2015 07:57, Chow Loong Jin wrote: >> On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote: >>> Hello, >>> >>> I make darkhttpd package and have a small issue. >>> >>> I prepare init script: >>> https://github.com/mati75/darkhttpd/blob/master/debian/in

Re: init script cannot stop pid process

2015-02-12 Thread Mateusz Łukasik
On 12.02.2015 07:57, Chow Loong Jin wrote: On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote: Hello, I make darkhttpd package and have a small issue. I prepare init script: https://github.com/mati75/darkhttpd/blob/master/debian/init and for run script with start parameter is work

Re: init script cannot stop pid process

2015-02-11 Thread Chow Loong Jin
On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote: > Hello, > > I make darkhttpd package and have a small issue. > > I prepare init script: > https://github.com/mati75/darkhttpd/blob/master/debian/init and for run > script with start parameter is working fine: This is just a shot i

Re: init script cannot stop pid process

2015-02-11 Thread Jeff Epler
On Wed, Feb 11, 2015 at 10:25:38PM +0100, Mateusz Łukasik wrote: > error: can't create pidfile /var/run/darkhttpd.pid: Permission denied Typically, (/var)/run is only writable by root (checked on kfreebsd and linux jessie systems). Does darkhttpd write its pid file *before* changing to the specif

Re: init script cannot stop pid process

2015-02-11 Thread Cameron Norman
On Wed, Feb 11, 2015 at 1:25 PM, Mateusz Łukasik wrote: > Hello, > > I make darkhttpd package and have a small issue. > > I prepare init script: > https://github.com/mati75/darkhttpd/blob/master/debian/init and for run > script with start parameter is working fine: > > www-data 4615 4615 0.0

init script cannot stop pid process

2015-02-11 Thread Mateusz Łukasik
Hello, I make darkhttpd package and have a small issue. I prepare init script: https://github.com/mati75/darkhttpd/blob/master/debian/init and for run script with start parameter is working fine: www-data 4615 4615 0.01 0.1 12456 1548 ?Ss 22:13 0:00 /usr/bin/darkhttpd /v