source: admin/Sources/Clients/ogagent/linux/debian/ogagent.init @ 062ea34

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since 062ea34 was 066661d, checked in by ramon <ramongomez@…>, 9 years ago

#718: Parámetros de descripción finales para OGAgent.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5040 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 535 bytes
Line 
1#!/bin/sh -e
2### BEGIN INIT INFO
3# Provides:          ogagent
4# Required-Start:    $local_fs $remote_fs $network $syslog $named
5# Required-Stop:     $local_fs $remote_fs $network $syslog $named
6# Default-Start:     2 3 4 5
7# Default-Stop:      0 1 6
8# Short-Description: OpenGnsys Agent Service
9### END INIT INFO
10#
11
12# . /lib/lsb/init-functions
13
14case "$1" in
15  start|stop|restart)
16    /usr/bin/ogagent $1
17        ;;
18  force-reload)
19        /usr/bin/ogagent restart
20        ;;
21  *) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;;
22esac
23
Note: See TracBrowser for help on using the repository browser.