Created
January 20, 2018 18:13
-
-
Save rickhernandezio/9f33d8a8eb2d2588eb6b83afd274ed84 to your computer and use it in GitHub Desktop.
Create a Daemon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=DynamoDB on Localhost | |
After=network.target | |
Documentation=https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html | |
[Service] | |
Environment=deploydir=/opt/dynamodb | |
Type=simple | |
User=dynamodb | |
Group=dynamodb | |
ExecStart=/usr/bin/java -Djava.library.path=${deploydir}/DynamoDBLocal_lib -jar ${deploydir}/DynamoDBLocal.jar -sharedDb -dbPath ${deploydir}/data | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment