Update photoprism-install.sh

This commit is contained in:
tteckster 2022-08-19 16:08:49 -04:00 committed by GitHub
parent cb0576e67e
commit e4ddc8fc0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -179,9 +179,13 @@ msg_info "Cleaning up"
apt-get autoremove >/dev/null
apt-get autoclean >/dev/null
rm -rf /var/{cache,log}/* \
/photoprism \
/go1.18.4.linux-amd64.tar.gz \
/libtensorflow-linux-avx2-1.15.2.tar.gz \
/libtensorflow-linux-avx-1.15.2.tar.gz \
/libtensorflow-linux-cpu-1.15.2.tar.gz
systemctl enable --now photoprism &>/dev/null
msg_ok "Cleaned"
msg_info "Starting PhotoPrism"
systemctl enable --now photoprism &>/dev/null
msg_info "Started PhotoPrism"