The master daemon "artica-postfix" manage all daemons used by artica-postfix.
When artica-postfix daemon is started, it execute every 500 Ms the process /usr/share/artica-postfix/bin/process1
process1 is the main process that verify daemons and start them is there are stopped.
In this case, if a daemon (LDAP, Postfix, apache...) is stopped, it start it automatically. proccess1 is a kind of "watchdog" that ensure all daemons are up.
There are several cases to manage daemons by command line.
Start manually all daemons.
The command "/usr/share/artica-postfix/bin/artica-install --start" show you on the screen the starting process.
Start/stop a single daemon
You can add 2 parameters behind /etc/init.d/artica-postfix (start|stop|restart)
the single daemon name and a debugging feature.
In this case, if you want to restart ldap server you can use :
"/etc/init.d/artica-postfix restart ldap"
in debug mode :
"/etc/init.d/artica-postfix restart ldap debug"
the command "/etc/init.d/artica-postfix stop ? " show you all single daemons that could be started/stopped
Get daemons status.
artica-install can show you in INI File mode the daemons status.
The command "/usr/share/artica-postfix/bin/artica-install --status" show all status of all daemons
Debugging process1
If some reasons daemons are not started, try to launch process1 with -V parameter:
/usr/share/artica-postfix/bin/process1 -V
orÂ
/usr/share/artica-postfix/bin/process1 --start debug



