Skip to content

Commit 3906f7d

Browse files
authored
cleanup
1 parent ed7fbab commit 3906f7d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

install/autocaliweb-install.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,7 @@ EOF
230230
chmod +x "$SCRIPTS_DIR"/{ingest_watcher.sh,auto_zipper_wrapper.sh,metadata_change_detector_wrapper.sh}
231231
chown -R "$SERVICE_USER":"$SERVICE_GROUP" {"$INSTALL_DIR","$CONFIG_DIR","$INGEST_DIR","$CALIBRE_LIB_DIR"}
232232

233-
# systemd service files
234-
SYS_PATH="/etc/systemd/system"
235-
cat <<EOF >"$SYS_PATH"/autocaliweb.service
233+
cat <<EOF >/etc/systemd/system/autocaliweb.service
236234
[Unit]
237235
Description=Autocaliweb
238236
After=network.target
@@ -261,7 +259,7 @@ StandardError=journal
261259
WantedBy=multi-user.target
262260
EOF
263261

264-
cat <<EOF >"$SYS_PATH"/acw-ingest-service.service
262+
cat <<EOF >/etc/systemd/system/acw-ingest-service.service
265263
[Unit]
266264
Description=Autocaliweb Ingest Processor Service
267265
After=autocaliweb.service
@@ -282,7 +280,7 @@ StandardError=journal
282280
WantedBy=multi-user.target
283281
EOF
284282

285-
cat <<EOF >"$SYS_PATH"/acw-auto-zipper.service
283+
cat <<EOF >/etc/systemd/system/acw-auto-zipper.service
286284
[Unit]
287285
Description=Autocaliweb Auto Zipper Service
288286
After=network.target
@@ -301,7 +299,7 @@ StandardError=journal
301299
WantedBy=multi-user.target
302300
EOF
303301

304-
cat <<EOF >"$SYS_PATH"/metadata-change-detector.service
302+
cat <<EOF >/etc/systemd/system/metadata-change-detector.service
305303
[Unit]
306304
Description=Autocaliweb Metadata Change Detector
307305
After=network.target

0 commit comments

Comments
 (0)