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
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 | |
---|
14 | case "$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 ;; |
---|
22 | esac |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.