Location: PHPKode > projects > DebWeb GUI > debwgui/includes/services.inc
<?php
// services array
// parameter; NAME:INIT.D:PROC:BINARY:PID:STARTCMD:STOPCMD:RESTARTCMD:DELAY
$services = array(
  "Apache:apache:apache:/usr/sbin/apache:apache.pid:start:stop:restart:1",
  "Apache2:apache2:apache2:/usr/sbin/apache2:apache2.pid:start:stop:restart:1",
  "Cupsd:cupsys:cupsd:/usr/sbin/cupsd:cups/cupsd.pid:start:stop:restart:1",
  "Exim4:exim4:exim4:/usr/sbin/exim4:exim4/exim.pid:start:stop:restart:1",
  "Klogd:klogd:klogd:/sbin/klogd:klogd.pid:start:stop:restart:1",
  "MySQL:mysql:mysqld:/usr/sbin/mysqld:mysqld/mysqld.pid:start:stop:restart:1",
// note: postfix can be a problem if the server has other prcoesses called master :s
  "Postfix:postfix:master:/usr/sbin/postfix:NA:start:stop:restart:1",
  "Samba:samba:smbd:/usr/sbin/smbd:/var/run/samba/smbd.pid:start:stop:restart:1",
  "Snort:snort:snort:/usr/sbin/snort:snort_eth0.pid:start:stop:restart:1",
  "SpamAssassin:spamassassin:spamd:/usr/sbin/spamd:/var/run/spamassassin.pid:start:stop:restart:1",
  "SSH:ssh:sshd:/usr/sbin/sshd:NA:start:stop:restart:2",
  "Sysklogd:sysklogd:syslogd:/sbin/syslogd:syslogd.pid:start:stop:restart:1",
  "Vsftpd:vsftpd:vsftpd:/usr/sbin/vsftpd:vsftpd/vsftpd.pid/:start:stop:restart:1",
  "FreeRadius:freeradius:freeradius:/usr/sbin/freeradius:freeradius/freeradius.pid:start:stop:restart:1",
  "Wu-Ftpd:wu-ftpd:wu-ftpd:/usr/sbin/wu-ftpd:wu-ftpd.pid:start:stop:restart:1",
  "Proftpd:proftpd:proftpd:/usr/sbin/proftpd:proftpd.pid:start:stop:restart:1",
  "Squid:squid:squid:/usr/sbin/squid:squid.pid:start:stop:restart:1"
  );

?>
Return current item: DebWeb GUI