Archived
1
0
Fork 0

Launch on ksh

This commit is contained in:
Mercier Pierre-Olivier 2013-09-20 03:39:10 +02:00
parent a5fb66040b
commit 01b8f4327a
2 changed files with 6 additions and 2 deletions

View file

@ -1,8 +1,8 @@
#! /bin/bash
# Install missing packets
DEB_PACKAGES_LIST="libnet-ldap-perl libxml-libxml-perl libgearman-client-perl libmailtools-perl libmail-sendmail-perl libdate-manip-perl"
ARCH_PACKAGES_LIST="perl-io-socket-ssl perl-email-simple perl-email-mime perl-term-readkey perl-ldap perl-lwp-protocol-https"
DEB_PACKAGES_LIST="screen libnet-ldap-perl libxml-libxml-perl libgearman-client-perl libmailtools-perl libmail-sendmail-perl libdate-manip-perl"
ARCH_PACKAGES_LIST="screen perl-io-socket-ssl perl-email-simple perl-email-mime perl-term-readkey perl-ldap perl-lwp-protocol-https"
if [ -f "/etc/debian_version" ]
then

View file

@ -80,6 +80,10 @@ then
launch_screen "lerdorf_process_files_intradata_get" "while true; do $PERL ~/liblerdorf/process/files/intradata_get.pl; done"
;;
ksh)
launch_screen "lerdorf_process_files_moulette_get" "while true; do $PERL ~/liblerdorf/process/files/moulette_get.pl; done"
;;
*)
echo "No process to launch for $HOSTNAME" >&2
exit 1