diff --git a/confs/apache2/raspisms.conf b/confs/apache2/raspisms.conf index 0f570e3..550f6fb 100644 --- a/confs/apache2/raspisms.conf +++ b/confs/apache2/raspisms.conf @@ -1,6 +1,6 @@ -Alias "/raspisms" "/opt/raspisms" +Alias "/raspisms" "/var/www/raspisms" - + Require all granted Options +FollowSymLinks AllowOverride all diff --git a/confs/systemd/raspisms.service b/confs/systemd/raspisms.service index b4238e2..9db477b 100644 --- a/confs/systemd/raspisms.service +++ b/confs/systemd/raspisms.service @@ -7,9 +7,9 @@ Wants=network-online.target [Service] Type=forking PIDFile=/var/run/raspisms/RaspiSMS Daemon Launcher.pid -ExecStart=/opt/raspisms/bin/start.sh -ExecStop=/opt/raspisms/bin/stop.sh -WorkingDirectory=/opt/raspisms +ExecStart=/var/www/raspisms/bin/start.sh +ExecStop=/var/www/raspisms/bin/stop.sh +WorkingDirectory=/var/www/raspisms Restart=on-failure [Install]