diff --git a/server-script/aihomeworkdev.service b/server-script/aihomeworkdev.service index 601f0ff4..e77fdf16 100644 --- a/server-script/aihomeworkdev.service +++ b/server-script/aihomeworkdev.service @@ -3,11 +3,11 @@ Description=AIHomework-Dev After=network.target [Service] -WorkingDirectory=/var/www/aihomework/dev -ExecStart=/bin/bash /var/www/aihomework/dev/server-script/startappdev.sh +WorkingDirectory=/var/www/aihomework/boilerplate/dev +ExecStart=/bin/bash /var/www/aihomework/boilerplate/dev/server-script/startappdev.sh #Restart=on-failure #RestartSec=20s StartLimitInterval=0 [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/server-script/startappdev.sh b/server-script/startappdev.sh index 6ac1a8a8..6cc24347 100755 --- a/server-script/startappdev.sh +++ b/server-script/startappdev.sh @@ -1,5 +1,5 @@ #!/bin/bash -cd /var/www/aihomework/boilerplates/dev/ +cd /var/www/aihomework/boilerplate/dev/ mkdir -p logs /usr/bin/yarn start >> logs/devoutput.log 2>&1