This guide for CentOS. With small edit you can use in another linux distributive.
Create /etc/init.d/servicedesk and insert code below (change MDIR)
#!/bin/bash # # Startup script for the pmagent # # chkconfig: 345 99 02 # description: Run the SupportCenter-Plus program INITLOG_ARGS="" prog="servicedesk" progname="ManageEngine ServiceDesk" RETVAL=0 # Edit the following to indicate the 'bin' directory for your installation MDIR=/change/me/bin if [ ! -d "$MDIR" ] then echo "Invalid directory $MDIR" exit 1 fi start() { mv -f /var/log/servicedesk.log /var/log/servicedesk1.log echo "Starting $progname" cd $MDIR nohup sh run.sh >/var/log/servicedesk.log 2>&1 & RETVAL=$? echo [ $RETVAL = 0 ] && touch /var/lock/subsys/servicedesk } stop() { echo "Stopping $progname" cd $MDIR sh shutdown.sh -S >>/var/log/servicedesk.log 2>&1 } case "$1" in start) start ;; stop) stop ;; *) echo "Usage: $prog {start|stop}" exit 1 ;; esac exit $RETVAL |
After
chmod 755 /etc/init.d/servicedesk touch /var/log/servicedesk.log |
Adding in autorun
chkconfig --add servicedesk |
After that you can use command line
service servicedesk start|stop |
Original https://kb.vmware.com/s/article/2042141 Backing up ESXi host configuration data To synchronize the configuration changed with persistent…
vCenter Converter Standalone 6.6.0 download (далее…)
VMware remote console (VMRC) 12.0.5 download Last version: VMware Remote Console 12.0.5 28 NOV 2023…
SELECT col_sizes.TABLE_SCHEMA, col_sizes.TABLE_NAME, SUM(col_sizes.col_size) AS EST_MAX_ROW_SIZE FROM ( SELECT cols.TABLE_SCHEMA, cols.TABLE_NAME, cols.COLUMN_NAME, CASE cols.DATA_TYPE WHEN…
UPDATE DB SET column = DATE(STR_TO_DATE(column, '%Y-%d-%m')) WHERE DATE(STR_TO_DATE(column, '%d-%m-%Y')) <> '0000-00-00'
echo 1 > /sys/class/block/sda/device/rescan #maybe run under root> sudo fdisk /dev/sda2 > d > 2…