why cant i do anything right wtf is wrong with me
This commit is contained in:
+5
-1
@@ -21,7 +21,7 @@ echo "Copying server files to /opt/kjv-api"
|
|||||||
cp -r "${script_dir}"/. /opt/kjv-api
|
cp -r "${script_dir}"/. /opt/kjv-api
|
||||||
|
|
||||||
echo "Setting ownership to kjv user"
|
echo "Setting ownership to kjv user"
|
||||||
chmod -R kjv:kjv /opt/kjv-api
|
chown -R kjv:kjv /opt/kjv-api
|
||||||
|
|
||||||
echo "Installing systemd service task"
|
echo "Installing systemd service task"
|
||||||
cp "/opt/kjv-api/install/kjv-api.service" "/etc/systemd/system/kjv-api.service"
|
cp "/opt/kjv-api/install/kjv-api.service" "/etc/systemd/system/kjv-api.service"
|
||||||
@@ -34,7 +34,11 @@ echo "Waiting for the service to initialize"
|
|||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
echo "If you see a random Bible verse below in json format, your installation was successful:"
|
echo "If you see a random Bible verse below in json format, your installation was successful:"
|
||||||
|
echo
|
||||||
|
echo
|
||||||
curl -XGET 127.0.0.1:1611/random
|
curl -XGET 127.0.0.1:1611/random
|
||||||
|
echo
|
||||||
|
echo
|
||||||
|
|
||||||
echo "You must now set your webserver as a reverse proxy for your domain and point it to 127.0.0.1:1611"
|
echo "You must now set your webserver as a reverse proxy for your domain and point it to 127.0.0.1:1611"
|
||||||
echo "See the install folder for example configuration files."
|
echo "See the install folder for example configuration files."
|
||||||
|
|||||||
Reference in New Issue
Block a user