Install ServiceDesk Plus as a Linux Service
2013-10-24 14:24
423 查看
This script is only suitable for CentOS 5.4
Download the servicedesk.txt file from here.
Copy the servicedesk.txt to /etc/init.d/
# cp servicedesk.txt /etc/init.d/servicedeskEdit the servicedesk file to modify the MDIR Variable. MDIR refers to /bin. Typically, if you have installed ServiceDesk Plus as a guest user, then MDIR will be,
MDIR=/home/guest/ManageEngine/ServiceDesk/bin
NOTE: To edit the servicedesk file type #vi servicedesk.txt
Give executable permissions for servicedesk startup script.
# chmod 755 /etc/init.d/servicedeskCreate a blank file under /var/log for logging purposes.
# touch /var/log/servicedesk-plus.logUse chkconfig command to add the script as a startup process.
# chkconfig --add servicedesk
Download the servicedesk.txt file from here.
Copy the servicedesk.txt to /etc/init.d/
# cp servicedesk.txt /etc/init.d/servicedeskEdit the servicedesk file to modify the MDIR Variable. MDIR refers to /bin. Typically, if you have installed ServiceDesk Plus as a guest user, then MDIR will be,
MDIR=/home/guest/ManageEngine/ServiceDesk/bin
NOTE: To edit the servicedesk file type #vi servicedesk.txt
Give executable permissions for servicedesk startup script.
# chmod 755 /etc/init.d/servicedeskCreate a blank file under /var/log for logging purposes.
# touch /var/log/servicedesk-plus.logUse chkconfig command to add the script as a startup process.
# chkconfig --add servicedesk