diff options
-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 |