From 8e9225ef54cef168dba062b941fb38bd94a0ee13 Mon Sep 17 00:00:00 2001 From: gravel Date: Fri, 24 Nov 2023 14:17:59 +0000 Subject: [PATCH] Rename PHP entrypoint --- Makefile | 4 ++-- etc/systemd/sessioncommunities.service | 2 +- php/{update-listing.php => update-all.php} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename php/{update-listing.php => update-all.php} (100%) diff --git a/Makefile b/Makefile index 054f328..7f4a42e 100644 --- a/Makefile +++ b/Makefile @@ -10,13 +10,13 @@ list: grep "^[^[:space:]]*:" Makefile --before-context=1 --group-separator="" ## Using make dependencies is duplicating behaviour but reads better. -# /bin/php php/update-listing.php +# /bin/php php/update-all.php # Refresh listing and generate HTML. sco: fetch html # Refresh listing, generate HTML and update listing provider. all: - /bin/php php/update-listing.php $(FLAGS) + /bin/php php/update-all.php $(FLAGS) # Fetch room listing. fetch: diff --git a/etc/systemd/sessioncommunities.service b/etc/systemd/sessioncommunities.service index 57b749e..a546c15 100644 --- a/etc/systemd/sessioncommunities.service +++ b/etc/systemd/sessioncommunities.service @@ -5,4 +5,4 @@ Description=Scrape every known source for Session Communities and put the data t [Service] WorkingDirectory=/home/session/sessioncommunities.online User=session -ExecStart=/usr/bin/php php/update-listing.php +ExecStart=/usr/bin/php php/update-all.php diff --git a/php/update-listing.php b/php/update-all.php similarity index 100% rename from php/update-listing.php rename to php/update-all.php