diff --git a/html/svc/bu_cmdr.service b/html/svc/bu_cmdr.service index ce063af..a2707a1 100644 --- a/html/svc/bu_cmdr.service +++ b/html/svc/bu_cmdr.service @@ -1,14 +1,14 @@ [Unit] -Description=PHP Middleware For Websites -After=apache2.service +Description=PHP Backup Website GUI +After=httpd.service Documentation=http://pearcey.net:8080/johnpearcey/backup-commander [Service] Type=simple -WorkingDirectory=/var/www/backup-commander/html/svc -ExecStart=php /var/www/backup-commander/html/svc/main.php -ExecStop=php /var/www/backup-commander/html/svc/main.php stop -ExecReload=php /var/www/backup-commander/html/svc/main.php reload +WorkingDirectory=/var/www/www-root/data/www/backup-commander/html/svc +ExecStart=php /var/www/www-root/data/www/backup-commander/html/svc/main.php +ExecStop=php /var/www/www-root/data/www/backup-commander/html/svc/main.php stop +ExecReload=php /var/www/www-root/data/www/backup-commander/html/svc/main.php reload [Install] WantedBy=multi-user.target diff --git a/html/svc/main.php b/html/svc/main.php index 1065fe0..8d7bf0f 100644 --- a/html/svc/main.php +++ b/html/svc/main.php @@ -326,7 +326,7 @@ global $g_shutdown; if( 'f:getbu_list_state' !== $obj[0] ){ - print_r( $obj ); + //print_r( $obj ); } switch( $obj[0] ){