Created
September 16, 2017 13:04
-
-
Save mmacphail/acb042f0b46e89ccbc87ab685e218bdb to your computer and use it in GitHub Desktop.
Create datomic as a service on centos
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=datomic Service | |
After=network.target | |
[Service] | |
Type=simple | |
User=datomic | |
ExecStart=/var/lib/datomic/datomic-free-0.9.5561.56/bin/transactor -Xms400m -Xmx400m /var/lib/datomic/datomic-free-0.9.5561.56/bin/transactor.properties | |
Restart=on-abort | |
[Install] | |
WantedBy=multi-user.target |
You also need to create a user named datomic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File to write: /etc/systemd/system/datomic.service
Then: sudo systemctl daemon-reload
and: sudo systemctl start datomic
From : Scott Linux