Modify cron scripts to use /opt dir

Signed-off-by: Brandon Myers <bmyers@mozilla.com>
This commit is contained in:
Brandon Myers 2016-11-29 11:14:28 -06:00
Родитель 81a07bc2d5
Коммит ddcbfb1db6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 8AA79AD83045BBC7
19 изменённых файлов: 43 добавлений и 43 удалений

Просмотреть файл

@ -1,4 +1,4 @@
#!/usr/bin/env bash
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/auditDAlerts.py -c /home/mozdef/envs/mozdef/cron/auditDAlerts.conf
/home/mozdef/envs/mozdef/cron/auditDFileAlerts.py -c /home/mozdef/envs/mozdef/cron/auditDAlerts.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/auditDAlerts.py -c /opt/mozdef/envs/mozdef/cron/auditDAlerts.conf
/opt/mozdef/envs/mozdef/cron/auditDFileAlerts.py -c /opt/mozdef/envs/mozdef/cron/auditDAlerts.conf

Просмотреть файл

@ -6,5 +6,5 @@
# Author: gdestuynder@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/auth02mozdef.py
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/auth02mozdef.py

Просмотреть файл

@ -8,5 +8,5 @@
# Contributors:
# Anthony Verez averez@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/backupSnapshot.py -c /home/mozdef/envs/mozdef/cron/backup.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/backupSnapshot.py -c /opt/mozdef/envs/mozdef/cron/backup.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/cloudTrailAlerts.py -c /home/mozdef/envs/mozdef/cron/cloudTrailAlerts.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/cloudTrailAlerts.py -c /opt/mozdef/envs/mozdef/cron/cloudTrailAlerts.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.py -c /home/mozdef/envs/mozdef/cron/cloudtrail2mozdef.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/cloudtrail2mozdef.py -c /opt/mozdef/envs/mozdef/cron/cloudtrail2mozdef.conf

Просмотреть файл

@ -8,5 +8,5 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/collectAttackers.py -c /home/mozdef/envs/mozdef/cron/collectAttackers.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/collectAttackers.py -c /opt/mozdef/envs/mozdef/cron/collectAttackers.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/collectSSHFingerprints.py -c /home/mozdef/envs/mozdef/cron/collectSSHFingerprints.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/collectSSHFingerprints.py -c /opt/mozdef/envs/mozdef/cron/collectSSHFingerprints.conf

Просмотреть файл

@ -8,5 +8,5 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/compromisedCreds2fxa.py -c /home/mozdef/envs/mozdef/cron/compromisedCreds2fxa.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/compromisedCreds2fxa.py -c /opt/mozdef/envs/mozdef/cron/compromisedCreds2fxa.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/correlateUserMacAddress.py -c /home/mozdef/envs/mozdef/cron/correlateUserMacAddress.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/correlateUserMacAddress.py -c /opt/mozdef/envs/mozdef/cron/correlateUserMacAddress.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/createIPBlockList.py -c /home/mozdef/envs/mozdef/cron/createIPBlockList.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/createIPBlockList.py -c /opt/mozdef/envs/mozdef/cron/createIPBlockList.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/rotateIndexes.py -c /home/mozdef/envs/mozdef/cron/backup.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/rotateIndexes.py -c /opt/mozdef/envs/mozdef/cron/backup.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.py -c /home/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.py -c /opt/mozdef/envs/mozdef/cron/fxaAccountCreateAlerts.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/google2mozdef.py -c /home/mozdef/envs/mozdef/cron/google2mozdef.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/google2mozdef.py -c /opt/mozdef/envs/mozdef/cron/google2mozdef.conf

Просмотреть файл

@ -8,9 +8,9 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/healthAndStatus.py -c /home/mozdef/envs/mozdef/cron/healthAndStatus.conf
/home/mozdef/envs/mozdef/cron/healthToMongo.py -c /home/mozdef/envs/mozdef/cron/healthToMongo.conf
/home/mozdef/envs/mozdef/cron/esCacheMaint.py -c /home/mozdef/envs/mozdef/cron/esCacheMaint.conf
/home/mozdef/envs/mozdef/cron/eventStats.py -c /home/mozdef/envs/mozdef/cron/eventStats.conf
/home/mozdef/envs/mozdef/cron/eventStatsAlerts.py -c /home/mozdef/envs/mozdef/cron/eventStatsAlerts.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/healthAndStatus.py -c /opt/mozdef/envs/mozdef/cron/healthAndStatus.conf
/opt/mozdef/envs/mozdef/cron/healthToMongo.py -c /opt/mozdef/envs/mozdef/cron/healthToMongo.conf
/opt/mozdef/envs/mozdef/cron/esCacheMaint.py -c /opt/mozdef/envs/mozdef/cron/esCacheMaint.conf
/opt/mozdef/envs/mozdef/cron/eventStats.py -c /opt/mozdef/envs/mozdef/cron/eventStats.conf
/opt/mozdef/envs/mozdef/cron/eventStatsAlerts.py -c /opt/mozdef/envs/mozdef/cron/eventStatsAlerts.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/marketPlaceNotices.py -c /home/mozdef/envs/mozdef/cron/marketPlaceNotices.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/marketPlaceNotices.py -c /opt/mozdef/envs/mozdef/cron/marketPlaceNotices.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/okta2mozdef.py -c /home/mozdef/envs/mozdef/cron/okta2mozdef.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/okta2mozdef.py -c /opt/mozdef/envs/mozdef/cron/okta2mozdef.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/pruneIndexes.py -c /home/mozdef/envs/mozdef/cron/backup.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/pruneIndexes.py -c /opt/mozdef/envs/mozdef/cron/backup.conf

Просмотреть файл

@ -8,5 +8,5 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/syncAlertsToMongo.py -c /home/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.py -c /opt/mozdef/envs/mozdef/cron/syncAlertsToMongo.conf

Просмотреть файл

@ -8,6 +8,6 @@
# Contributors:
# Jeff Bryner jbryner@mozilla.com
source /home/mozdef/envs/mozdef/bin/activate
/home/mozdef/envs/mozdef/cron/vidyo2MozDef.py -c /home/mozdef/envs/mozdef/cron/vidyo2MozDef.conf
source /opt/mozdef/envs/mozdef/bin/activate
/opt/mozdef/envs/mozdef/cron/vidyo2MozDef.py -c /opt/mozdef/envs/mozdef/cron/vidyo2MozDef.conf