diff options
author | Marcel Campello Ferreira | 2014-05-23 01:58:56 -0300 |
---|---|---|
committer | Marcel Campello Ferreira | 2014-05-23 01:58:56 -0300 |
commit | 27ba97771141b5ca58ef3274b6b5e735baa15a74 (patch) | |
tree | a6447dce406da19c3e14d82d7111bd45db6a99c6 /neo4j.install | |
parent | b721fa0969ee8d63e884503e8520fcd3f3f653c9 (diff) | |
download | aur-27ba97771141b5ca58ef3274b6b5e735baa15a74.tar.gz |
Version 2.0.3-2.
Diffstat (limited to 'neo4j.install')
-rw-r--r-- | neo4j.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/neo4j.install b/neo4j.install index 97733e3ed09a..a094e1a34578 100644 --- a/neo4j.install +++ b/neo4j.install @@ -15,10 +15,13 @@ post_install() { chown -R neo4j.neo4j /etc/neo4j /usr/bin/systemd-tmpfiles --create neo4j.conf + + warn_about_java_home } post_upgrade() { assert_user_and_group_exist + warn_about_java_home } post_remove() { @@ -29,3 +32,14 @@ post_remove() { groupdel neo4j fi } + +warn_about_java_home() { + echo "------------------------------" + echo "--- ACHTUNG ACHTUNG ALARM! ---" + echo "------------------------------" + echo "Before starting the Neo4j service, please edit" + echo "'/usr/lib/systemd/system/neo4j.service', changing" + echo "'Environment=JAVA_HOME=/your/java/home/path' to your" + echo "actual JAVA_HOME path. Do not forget to uncomment" + echo "that line too and then run 'systemctl daemon-reload'." +} |