#!/bin/bash
# Ahsay Offsite Backup Server and Replication Server 
# Version: 5.5.1.0

# This is a script file to be executed after installation

###############################################################################
#       D E F I N E          D E P L O Y M E N T       C O N S T A N T S      #
###############################################################################

# Define APP_NAME for current installation
APP_NAME="Ahsay Offsite Backup Server and Replication Server"

# Define APP_HOME for current installation
APP_HOME="/Applications/AhsayOBS and AhsayRPS"

# Define SERVICE_NAME for current installation
SERVICE_NAME="AhsayOBS and AhsayRPS"

# Define PKG_NAME for current installation
PKG_NAME="obsr.pkg"

###############################################################################
#            S T A R T - U P                      S E R V I C E S             #
###############################################################################

echo "Start Service of ${APP_NAME}"
/sbin/SystemStarter -vd start "${SERVICE_NAME}"
echo "System Service Process Started"

###############################################################################
#           E N D                   O F                S T A R T - U P        #
###############################################################################

echo "Finished Custom Startup for ${APP_NAME}"

