diff options
author | Mike Williamson | 2017-03-19 10:25:05 -0400 |
---|---|---|
committer | Mike Williamson | 2017-03-19 10:25:05 -0400 |
commit | f7fd8f3260681f8fb0aef2f815c8306e86c94d51 (patch) | |
tree | 43c9d8a4d4189d481f5786ce1869b713d8a43cc2 /arangodb.install | |
parent | 29dde868f0a63c66227f2b9306f51c4afedb38e1 (diff) | |
download | aur-f7fd8f3260681f8fb0aef2f815c8306e86c94d51.tar.gz |
Bring our systemd unit file closer to arango's
More work needs to be done to rationalize the differences but this is a
start.
Diffstat (limited to 'arangodb.install')
-rw-r--r-- | arangodb.install | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arangodb.install b/arangodb.install index b0ad64ea9587..4379cdb9d02a 100644 --- a/arangodb.install +++ b/arangodb.install @@ -25,8 +25,8 @@ post_install() { files, then enable and start the service: sudo systemctl daemon-reload - sudo systemctl enable arangodb.service - sudo systemctl start arangodb.service + sudo systemctl enable arangodb3.service + sudo systemctl start arangodb3.service ArangoDB 3 ships with authentication enabled. To use it you will need to start the server with 'authentication = false' in the following @@ -45,7 +45,7 @@ post_install() { Set the 'authentication = true' and then restart ArangoDB: - sudo systemctl restart arangodb.service + sudo systemctl restart arangodb3.service You can now use your username and password to access the administrative interface at: @@ -69,9 +69,8 @@ post_upgrade() { between versions. To upgrade existing data files run /usr/bin/arangod with the upgrade option: - sudo systemctl stop arangodb.service - sudo arangod --database.auto-upgrade - sudo systemctl start arangodb.service + sudo systemctl stop arangodb3.service + sudo systemctl start arangodb3.service Take a look at the Changelog to see what is new in $1: https://github.com/arangodb/arangodb/blob/devel/CHANGELOG @@ -79,7 +78,7 @@ EOF } pre_remove() { - systemctl stop arangodb.service &> /dev/null + systemctl stop arangodb3.service &> /dev/null } post_remove() { |