Earl Cee
Earl Cee

Reputation: 1

Jar as a systemctl service fails to open kinesis stream but not when executed directly

I have a jar file which when executed directly using java -jar filename.jar it is able to read and consume an aws stream. However when I create a systemctl service in he same environment to run the exact same jar file as a service every time it runs it initiates a graceful shutdown without any error specified.

I have attempted to change file permissions and file ownership to match the user executing directly but no luck.

I have also tried increasing the failover time to 10mins without success

Upvotes: 0

Views: 34

Answers (0)

Related Questions