Launch on ksh
This commit is contained in:
parent
a5fb66040b
commit
01b8f4327a
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue