Re: daemon in /etc/init.d/functions creates no pifile?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm using centos7 with systemd systemctl.
I god a helpful tip from a college to use
systemd unit templates, which works very nice.

So everything is fine,

Thanks,

Sebastian

On Tue, Jun 02, 2015 at 10:51:00AM -0400, m.roth@xxxxxxxxx wrote:
> skotthof wrote:
> >
> > OK, I figured out, I have to install
> > redhat-lsb package for start-stop-daemon
> > "Implementation of Linux Standard Base specification"
> >
> > Sebastian
> > On Tue, Jun 02, 2015 at 11:06:59AM +0200, skotthof wrote:
> >> Hi,
> >>
> >> we started using centos7 to run kvm+libvirt.
> >> For novnc to virtual machines I like to start
> >> websockify as a daemon by libvirt (as a hook)
> >>
> >> Under Debian I used the line:
> >>  # start-stop-daemon --start --chuid $RUNUSER --make-pidfile --pidfile
> >> $PIDFILE --startas $PROGRAM -- $OPTIONS
> >> which creates a nice pidfile.
> >>
> >> In Centos I figured out, to include /etc/init.d/functions and I tried:
> >>  # daemon --user $RUNUSER --pidfile=$PIDFILE $PROGRAM $OPTIONS
> <snip>
> 
> Sorry I missed the beginning of this thread. You are using (CentOS 6)
> service blablah start, or (CentOS 7) systemctl start blahblah, yes?
> 
>      mark
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
Sebastian Kotthoff
Rechenzentrum
Universität Mannheim
B6, 23-29; Building B; Room 1.10
68159 Mannheim

Tel: +49 621 181 2516
Fax: +49 621 181 2682 
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux