source: ogAgent-Git/macos/scripts/postinstall @ eeb5b08

configure-ptt-chedecorare-oglive-methodsejecutarscript-b64fix-cfg2objfixes-winlgromero-filebeatmainmodulesnew-browserno-ptt-paramogadmcliogadmclient-statusogagent-jobsogagent-macosogcore1ogliveoglogoglog2override-moduleping1ping2ping3ping4py3-winpython3qndtestreport-progresstlsunification2unification3versionswindows-fixes
Last change on this file since eeb5b08 was 75ba20c, checked in by ramon <ramongomez@…>, 8 years ago

#718: Revisar documentación y proceso de intalación de OGAgent; actualizar comandos de OGAgent para macOS.

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

  • Property mode set to 100755
File size: 345 bytes
Line 
1#!/usr/bin/env sh
2
3# Directories
4SRCDIR=$(dirname "$0")
5BINDIR=/usr/bin
6INITDIR=/Library/LaunchDaemons
7
8# Check if it needs to install Python dependencies:
9if ! which pip &>/dev/null; then
10    easy_install pip
11    pip install netifaces requests six
12fi
13
14# Copying files.
15cp $SRCDIR/ogagent $BINDIR
16cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
17
Note: See TracBrowser for help on using the repository browser.