diff --git a/Makefile b/Makefile index 3e5cf9c..2476e28 100644 --- a/Makefile +++ b/Makefile @@ -170,7 +170,7 @@ installdtmf : qndtmf systemctl start qndtmf.service installdash : index.php - /usr/bin/apt -y php-cli + /usr/bin/apt -y php-common php-fpm mkdir -p $(WWWDIR) /bin/cp -f index.php $(WWWDIR) /bin/cp -f system/qndash.service $(SYSDIR) diff --git a/system/qndash.service b/system/qndash.service index d41c292..0ecad84 100644 --- a/system/qndash.service +++ b/system/qndash.service @@ -5,7 +5,7 @@ After=systemd-user-session.service network.target [Service] Type=simple -WorkingDirectory=/usr/local/etc/www +WorkingDirectory=/usr/local/www ExecStart=/usr/bin/php -S 0.0.0.0:80 Restart=always