Displaying 2 results from an estimated 2 matches for "daemon2".
Did you mean:
daemon
2014 Sep 01
2
Runing multiple daemons with systemctl
...I am doing some tests with a CentOS7 vm image before to enter in our
production environment. I need to migrate some sysvinit scripts to
systemctl.
In all of them I need to launch some daemons in the same init script.
For example:
a) start daemon1
b) if daemon1 returns no startup errors, launch daemon2
c) if daemon1 returns any startup error, doesn't start daemon2 and exit.
Is it possible to do this with systemctl??
Thanks.
2002 May 23
1
$SMBDOPTIONS in xinetd.conf
...sion redhat 7.1
this is, what I should know :
the old version looks like this :
# see how we were called
case "$1" in
start)
if [ -s /etc/smb.conf ]; then
echo -n "starting $ident:
start-stop-daemon -S -n $Name1 -x $DAEMON1 - -D -d 2
start-stop-daemon -S -n $Name2 -x $DAEMON2 - -D -d 2 \
-G musik -n winlux
echo "."
here comes the rest .....
now the new RH 7.1 version :
start() {
KIND="SMB"
echo -n $"Starting $KIND services: "
daemon smbd $SMBDOPTIONS
RETVAL=$?
echo
KIND="NMB"
echo -n $"Starting $KIND services...