From 9da1d31c94471e08d83eab402ce32e50eca5c961 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 8 Oct 2023 10:50:38 -0600 Subject: rename --- appspec.yml | 4 ++-- scripts/start_application | 3 +++ scripts/start_application.sh | 3 --- scripts/stop_application | 3 +++ scripts/stop_application.sh | 3 --- 5 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 scripts/start_application delete mode 100755 scripts/start_application.sh create mode 100755 scripts/stop_application delete mode 100755 scripts/stop_application.sh diff --git a/appspec.yml b/appspec.yml index b061d4f..bf61d74 100644 --- a/appspec.yml +++ b/appspec.yml @@ -11,10 +11,10 @@ hooks: timeout: 300 runas: root ApplicationStart: - - location: start_application.sh + - location: start_application timeout: 300 runas: root ApplicationStop: - - location: stop_application.sh + - location: stop_application timeout: 300 runas: root \ No newline at end of file diff --git a/scripts/start_application b/scripts/start_application new file mode 100755 index 0000000..48c4274 --- /dev/null +++ b/scripts/start_application @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo systemd start autoaid \ No newline at end of file diff --git a/scripts/start_application.sh b/scripts/start_application.sh deleted file mode 100755 index 48c4274..0000000 --- a/scripts/start_application.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -sudo systemd start autoaid \ No newline at end of file diff --git a/scripts/stop_application b/scripts/stop_application new file mode 100755 index 0000000..d385487 --- /dev/null +++ b/scripts/stop_application @@ -0,0 +1,3 @@ +#!/bin/bash + +sudo systemctl stop autoaid \ No newline at end of file diff --git a/scripts/stop_application.sh b/scripts/stop_application.sh deleted file mode 100755 index d385487..0000000 --- a/scripts/stop_application.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sudo systemctl stop autoaid \ No newline at end of file -- cgit v1.2.3