Download Latest Version MV1Tray4_SRC.zip (1.1 MB)
Email in envelope

Get an email when there's a new version of MV1 SysTray

Home / MV1Tray2 / MV1Sysctrl
Name Modified Size InfoDownloads / Week
Parent folder
README.TXT 2013-08-20 3.0 kB
MV1Sysctrl.zip 2012-08-13 175.7 kB
Totals: 2 Items   178.7 kB 0
MV1 Server command line administration Utility
==============================================

Usage: MV1Sysctrl option
       available options : START  = Start MV1 Server configured as 'mv1.mcf'
                           STOP   = Stop  MV1 Server
                           STATUS = Show MV1 Server ON/OFF
                           CONFIG = Show the Server configurations
                           CONLOG = Show the 'console.log' file
                           VER    = Show MV1Sysctrl version

=====================================================================

   * * *   U N I X   V   AutoStart / Shutdown MV1Server   * * * 

=====================================================================
*** MV1 Ubuntu Server AutoStart/AutoStop (Unix V / server mode)

generate this script in /etc/ini.d/mv1server 

-------------------- mv1server script file ---------------------
#! /bin/sh
### BEGIN INIT INFO
# Provides:          MV1 server
# Required-Start:    
# Required-Stop:     
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: MV1 Server Start/Stop
# Description:       MV1 Server AutoStart/Stop at System Start/Shutdown (Multiuser level)
### END INIT INFO

case "$1" in
  start)
	/...../MUMPS/..../MV1Sysctrl.gambas START
	;;
  stop)
        /...../MUMPS/..../MV1Sysctrl.gambas STOP
        ;;
  restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage: /etc/init.d/$0 {start|stop}"
        exit 1
       ;;
esac

exit 0
------------------  End of script file --------------------------

for autostart/autostop , make the symbolic link to target 'rcx.d' directories
$update-rc.d mv1server defaults
When Ubuntu system starting , then autonatic start the MV1 server . At system shutdown , waiting for MV1 server correct down !

If remove this autostart/autostop , then use :
$update-rc.d -f  mv1server remove

=====================================================================
*** MV1 Ubuntu Desktop AutoStart/AutoStop on Gnome(gdm/User mode)

AutoStart :
 (Use GUI or Command-line MV1 starting)
 System - Preferences - StartUp Applications
  [Add]...
    Command : /.../MUMPS/../MV1Tray2.gambas START
    or background command line mode:
    Command : /.../MUMPS/../MV1Sysctrl.gambas START
 *Automatic User login & Startup MV1 Server !

AutoStop  :
 (Use only command-line mode after 'gdm' inactive !!!)
  $cd /etc/gdm/PostSession
  $sudo gedit Default
  --------------------------------------------
  #!/bin/sh
  /...../MUMPS/../MV1Sysctrl.gambas STOP
  exit 0
  --------------------------------------------
 *First Log-out for MV1 Server down , after Shutdown !

 When MV1-Server runing , Use the System - Lock Screen function
 or  Ctrl+Alt+L  for server/desktop console will be inactive !!!

=====================================================================



MV1 = Fast & Easy
cais.system@gmail.com
www.cais-system.weebly.com

Enjoy!
Source: README.TXT, updated 2013-08-20