Update photoprism-install.sh

This commit is contained in:
tteckster 2022-03-11 16:00:06 -05:00 committed by GitHub
parent d9b1ac279f
commit 2c5e139444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,9 +122,9 @@ ExecStop=/opt/photoprism/bin/photoprism down
[Install]
WantedBy=multi-user.target" > $service_path
$ sudo systemctl daemon-reload
$ sudo systemctl start photoprism
$ sudo systemctl enable photoprism &>/dev/null
sudo systemctl daemon-reload
sudo systemctl start photoprism
sudo systemctl enable photoprism &>/dev/null
echo -e "${CM}${CL} \r"
PASS=$(grep -w "root" /etc/shadow | cut -b6);