From 44c9597e29ca177b8dbb87f3e9c2af4b5610a392 Mon Sep 17 00:00:00 2001 From: osaajani Date: Thu, 27 Feb 2020 16:41:11 +0100 Subject: [PATCH] Move raspisms to /var/www/ --- confs/apache2/raspisms.conf | 4 ++-- confs/systemd/raspisms.service | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) 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]