summarylogtreecommitdiffstats
path: root/cronicle.install
diff options
context:
space:
mode:
authorgao2024-11-25 01:37:37 +0800
committergao2024-11-25 01:37:37 +0800
commit89d3861df4ed6cfd021f1c2b780b4152ca94e0ac (patch)
tree66e799dee904d92381b33fcbdadf777be023d4c7 /cronicle.install
parent465eb30a243a2689c8461e13da43afb44d73ec31 (diff)
downloadaur-89d3861df4ed6cfd021f1c2b780b4152ca94e0ac.tar.gz
add systemd service file
Diffstat (limited to 'cronicle.install')
-rw-r--r--cronicle.install9
1 files changed, 6 insertions, 3 deletions
diff --git a/cronicle.install b/cronicle.install
index 5356faa1077b..6caf1598d5c5 100644
--- a/cronicle.install
+++ b/cronicle.install
@@ -1,9 +1,11 @@
post_install() {
cat << EOF
-Cronicle installed. Please review the configuration file at /opt/cronicle/conf/config.json.
+Cronicle installed.
+Please review the configuration file at /opt/cronicle/conf/config.json.
+And please review systemd service file at /usr/lib/systemd/system/cronicle.service.
Next, if this is a master server, type: 'sudo /opt/cronicle/bin/control.sh setup' to init storage.
-Then, to start the service, type: 'sudo /opt/cronicle/bin/control.sh start'.
+Then, to start the service, type: 'sudo systemctl start cronicle.service'.
For full docs, please visit: http://github.com/jhuckaby/Cronicle.
Enjoy!
@@ -14,7 +16,8 @@ EOF
post_upgrade() {
cat << EOF
-Cronicle upgraded. Please review the configuration file at /opt/cronicle/conf/config.json.
+Cronicle upgraded.
+Please review the configuration file at /opt/cronicle/conf/config.json.
For full docs, please visit: http://github.com/jhuckaby/Cronicle.
EOF