diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 11:06:13 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-08 11:06:13 -0600 |
commit | 68e16bfdbe93a37b22d2ee11777e91624fbbed5c (patch) | |
tree | 3ca0615d2493819ea95d248435f0ce77d3238ceb | |
parent | 9e9cdd3618791047c21502e5a8e2824b7f2b1a57 (diff) |
update scripts
-rw-r--r-- | appspec.yml | 4 | ||||
-rwxr-xr-x | scripts/start_application.sh | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/appspec.yml b/appspec.yml index 90a7f55..7b7d2bc 100644 --- a/appspec.yml +++ b/appspec.yml @@ -13,8 +13,4 @@ hooks: 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 |