diff --git a/install/autocaliweb-install.sh b/install/autocaliweb-install.sh index f8b89f818..4c7b3c50c 100644 --- a/install/autocaliweb-install.sh +++ b/install/autocaliweb-install.sh @@ -230,9 +230,7 @@ EOF chmod +x "$SCRIPTS_DIR"/{ingest_watcher.sh,auto_zipper_wrapper.sh,metadata_change_detector_wrapper.sh} chown -R "$SERVICE_USER":"$SERVICE_GROUP" {"$INSTALL_DIR","$CONFIG_DIR","$INGEST_DIR","$CALIBRE_LIB_DIR"} -# systemd service files -SYS_PATH="/etc/systemd/system" -cat <"$SYS_PATH"/autocaliweb.service +cat </etc/systemd/system/autocaliweb.service [Unit] Description=Autocaliweb After=network.target @@ -261,7 +259,7 @@ StandardError=journal WantedBy=multi-user.target EOF -cat <"$SYS_PATH"/acw-ingest-service.service +cat </etc/systemd/system/acw-ingest-service.service [Unit] Description=Autocaliweb Ingest Processor Service After=autocaliweb.service @@ -282,7 +280,7 @@ StandardError=journal WantedBy=multi-user.target EOF -cat <"$SYS_PATH"/acw-auto-zipper.service +cat </etc/systemd/system/acw-auto-zipper.service [Unit] Description=Autocaliweb Auto Zipper Service After=network.target @@ -301,7 +299,7 @@ StandardError=journal WantedBy=multi-user.target EOF -cat <"$SYS_PATH"/metadata-change-detector.service +cat </etc/systemd/system/metadata-change-detector.service [Unit] Description=Autocaliweb Metadata Change Detector After=network.target