Skip to content

Commit

Permalink
New service for frontend for new cloud server
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Aug 1, 2024
1 parent a5bd41e commit b9a05b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/app-store-frontend.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ After=network.target

[Service]
Type=simple
User=ubuntu
Group=ubuntu
User=goblin
Group=goblin
SupplementaryGroups=www-data
Environment=NODE_ENV=production SOCKET_PATH=/tmp/app-store-frontend.sock
ExecStartPre=/bin/bash -c "sudo rm -f /tmp/app-store-frontend.sock"
ExecStart=/usr/bin/node /home/ubuntu/app-store-dash/frontend/build
ExecStart=/home/goblin/.nvm/versions/node/v20.16.0/bin/node /home/goblin/app-store-dash/frontend/build
ExecStartPost=/bin/bash -c "sleep 5 && sudo chown www-data:www-data /tmp/app-store-frontend.sock"
Restart=on-failure
KillMode=mixed
Expand Down

0 comments on commit b9a05b6

Please sign in to comment.