Skip to main content
  • Products
    • Overview
    • Features
    • Screen Capture
    • Agent evaluation / score cards
    • Speech Analytics
    • Recording Announcement
    • Videos
    • Online demo
    • Quote
    • Download
  • Solutions
    • Businesses
    • Contact centers
    • Financial institutions
    • Healthcare
    • MiFID II compliance
    • Telecom service providers
    • Traders
  • Compatibility
    • AudioCodes
    • Avaya
    • BroadSoft
    • Cisco
    • Genband
    • IPC
    • Metaswitch
    • Oracle AcmePacket
    • SIPREC recording
    • Sonus
  • Documentation
    • User Guide
    • Administration Guide
    • Developer Guide
    • MiaRec v.3 (old) documentation
    • Resource library
    • Videos
  • Support
    • Submit a request
    • Check your existing requests
    • TeamViewer QuickSupport
  • Blog
  • Company
    • About MiaRec
    • Contact us
    • Our clients
    • Become a partner
    • News
    • Careers
    • Events

Legacy documentation

  • Legacy documentation
    • Passive call recording setup
      • What is port mirroring?
      • Virtual machine + passive recording
      • Configuring NIC for passive recording (port mirroring)
      • Enable packets pass-through for port mirroring traffic
        • AVG Internet Security
        • BitDefender Internet Security
        • ESET Smart Security 4
      • How to configure port mirroring on different switches
        • Cisco Catalyst 2960 Series Switches
        • D-Link DES-3010
        • Dell PowerConnect 2700 Series
        • Netgear FS726T
        • TP-LINK TL-SL2428WEB
      • Port Mirroring in complex call scenarios
      • Switches with port mirroring
    • Manual installation (deprecated) on Linux
      • Installation on Linux (Centos/RedHat) manually (deprecated)
        • Install MiaRec Web portal
          • Install PostgreSQL
          • Install Python 3
          • Install Apache web server
          • Install Redis cache
          • Install MiaRec web application
          • Install Celery task manager
        • Install MiaRec Recorder
          • SystemD start-up script (Centos 7.x)
          • Upstart start-up script (Centos 6.x)
          • Init.d start-up script
        • Install MiaRec Screen Recording Controller
        • Configure firewall
        • Verify services status
      • Installation on Linux (Ubuntu) manually (deprecated)
        • Install MiaRec Web portal
          • Install PostgreSQL
          • Install Python
          • Install Apache web server
          • Install Redis cache
          • Install MiaRec web application
          • Install Celery task manager
        • Install MiaRec Recorder
        • Configure firewall
    • Manual update on Linux (deprecated)
      • Update MiaRec Web portal
      • Update MiaRec recorder files
    • Cisco TAPI integration
      • Add TAPI user for MiaRec application
      • Configure Cisco TAPI TSP driver
      • Verify Cisco TAPI configuration
      • Enable Cisco TAPI interface in MiaRec
Home › Legacy documentation › Manual installation (deprecated) on Linux › Installation on Linux (Centos/RedHat) manually (deprecated) › Install MiaRec Recorder ›
 

Upstart start-up script (Centos 6.x)

Create file /etc/init/miarec.conf

vi /etc/init/miarec.conf

Content of this file:

description "MiaRec call recorder"
author      "MiaRec, Inc. www.miarec.com"

env EXEC=/usr/local/bin/miarec
env PIDFILE=/var/run/miarec.pid
env CONFFILE=/etc/miarec/miarec.ini

start on started sshd
stop on runlevel [!2345]

console output

# Increase open file descriptors limit
limit nofile 10240 10240

# Restart automatically proces in case of crash
respawn

# Stop respawn if it occured more than 10 times during 60 seconds period.
# This means serious problems
respawn limit 10 60

# Current working directory for MiaRec process
chdir /var/lib/miarec

# Enable core dumps for troubleshooting
limit core unlimited unlimited

instance miarec
exec $EXEC -c $CONFFILE --pid $PIDFILE

Reload Upstart configuration

initctl reload-configuration

Validate that miarec is in a list of processes:

initctl list

If you do not see there miarec then check errors in /var/log/messages

Start MiaRec process

initctl start miarec

Stop MiaRec process

initctl stop miarec

Restart MiaRec process

initctl stop miarec
initctl start miarec
‹ SystemD start-up script (Centos 7.x) up Init.d start-up script ›
  • Printer-friendly version
MiaRec, Inc. © 2020. All Rights Reserved. | Terms of Use | Privacy Statement | Cancellation Policy