From 739c174898d95f92f8647da772274a7aa9061c89 Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 19 Jan 2023 21:50:10 +0000 Subject: [PATCH] Add scripts for starting, stopping, and restarting Sensoroni --- salt/common/tools/sbin/so-sensoroni-restart | 12 ++++++++++++ salt/common/tools/sbin/so-sensoroni-start | 12 ++++++++++++ salt/common/tools/sbin/so-sensoroni-stop | 12 ++++++++++++ 3 files changed, 36 insertions(+) create mode 100755 salt/common/tools/sbin/so-sensoroni-restart create mode 100755 salt/common/tools/sbin/so-sensoroni-start create mode 100755 salt/common/tools/sbin/so-sensoroni-stop diff --git a/salt/common/tools/sbin/so-sensoroni-restart b/salt/common/tools/sbin/so-sensoroni-restart new file mode 100755 index 000000000..f17de2b58 --- /dev/null +++ b/salt/common/tools/sbin/so-sensoroni-restart @@ -0,0 +1,12 @@ +#!/bin/bash + +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. + + + +. /usr/sbin/so-common + +/usr/sbin/so-restart sensoroni $1 diff --git a/salt/common/tools/sbin/so-sensoroni-start b/salt/common/tools/sbin/so-sensoroni-start new file mode 100755 index 000000000..96ebc3fb6 --- /dev/null +++ b/salt/common/tools/sbin/so-sensoroni-start @@ -0,0 +1,12 @@ +#!/bin/bash + +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. + + + +. /usr/sbin/so-common + +/usr/sbin/so-start sensoroni $1 diff --git a/salt/common/tools/sbin/so-sensoroni-stop b/salt/common/tools/sbin/so-sensoroni-stop new file mode 100755 index 000000000..5bec5b8d3 --- /dev/null +++ b/salt/common/tools/sbin/so-sensoroni-stop @@ -0,0 +1,12 @@ +#!/bin/bash + +# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one +# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at +# https://securityonion.net/license; you may not use this file except in compliance with the +# Elastic License 2.0. + + + +. /usr/sbin/so-common + +/usr/sbin/so-stop sensoroni $1