Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cd: fixes #603

Merged
merged 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions server-script/aihomeworkdev.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
WantedBy=multi-user.target
2 changes: 1 addition & 1 deletion server-script/startappdev.sh
Original file line number Diff line number Diff line change
@@ -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
Loading