From 68e16bfdbe93a37b22d2ee11777e91624fbbed5c Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 8 Oct 2023 11:06:13 -0600 Subject: update scripts --- appspec.yml | 4 ---- scripts/start_application.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/appspec.yml b/appspec.yml index 90a7f55..7b7d2bc 100644 --- a/appspec.yml +++ b/appspec.yml @@ -12,9 +12,5 @@ hooks: runas: root ApplicationStart: - location: scripts/start_application.sh - timeout: 300 - runas: root - ApplicationStop: - - location: scripts/stop_application.sh timeout: 300 runas: root \ No newline at end of file diff --git a/scripts/start_application.sh b/scripts/start_application.sh index 48c4274..34f60a5 100755 --- a/scripts/start_application.sh +++ b/scripts/start_application.sh @@ -1,3 +1,3 @@ #!/bin/sh -sudo systemd start autoaid \ No newline at end of file +sudo systemd restart autoaid \ No newline at end of file -- cgit v1.2.3