Bei meiner Installation von Debian (Kernel 2.6.34.1) habe ich Asterisk mit FreePBX (VoIP) manuell installiert.
Bis anhin musste ich die Applikation immer manuell aufstarten. Dies mache ich mit folgender Zeile:
Code: Alles auswählen
/usr/local/sbin/amportal start
Nun habe ich diese in die rc.local eingefügt, damit dies beim Systemstart automatisch mitstartet:
Code: Alles auswählen
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/local/sbin/amportal start
exit 0
Code: Alles auswählen
Starting MTA: exim4.
/bin/sh: Illegal option -
startpar: service(s) returned failure: rc.local ... failed!
Besten Dank für eure Unterstützung!
Beste Grüsse
Paul