Skip to content

Commit

Permalink
Readd ExecStart back
Browse files Browse the repository at this point in the history
  • Loading branch information
ddxv committed Oct 25, 2023
1 parent 50a8e55 commit ac679ae
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion backend/api_app/controllers/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ def get_string_date_from_days_ago(days: int) -> str:

def get_app_overview_dict(collection: str) -> Collection:
category_limit = 20

df = query_recent_apps(collection=collection, limit=category_limit)
categories_dicts = []
groups = df.groupby(["mapped_category"])
Expand Down
2 changes: 1 addition & 1 deletion backend/dbcon/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def query_recent_apps(collection: str, limit=20):
ORDER BY rating_count DESC NULLS LAST
);
"""
sel_query = f"""WITH NumberedRows AS (
sel_query = f"""WITH NumberedRows AS (
SELECT
{my_cols},
ROW_NUMBER() OVER (PARTITION BY store, mapped_category
Expand Down
1 change: 1 addition & 0 deletions scripts/app-store-frontend.service
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ User=ubuntu
Group=ubuntu
SupplementaryGroups=www-data
Environment=NODE_ENV=production SOCKET_PATH=/tmp/app-store-frontend.sock
ExecStart=/usr/local/bin/node /home/ubuntu/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 ac679ae

Please sign in to comment.