Skip to content

Commit

Permalink
Updated service examples to match deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdoiel committed Oct 14, 2024
1 parent b0802a3 commit 57da2a8
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ feeds.library.caltech.edu which hosts the public API of cold content.

### Software Requiremets

- Deno >= 1.46.3
- Deno >= 2.0
- GNU Make
- Pandoc >= 3.1
- datasetd >= 2.1.22
10 changes: 5 additions & 5 deletions cold.service-example
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[Unit]
Description=COLD Admin service
Documentation=man:cold_admin(1)
Description=COLD service
Documentation=man:cold(1)
After=network.target
ConditionPathExists=!/Sites/cold/admin/cold_admin_not_to_be_run
ConditionPathExists=!/Sites/cold/cold_not_to_be_run

[Service]
WorkingDirectory=/Sites/cold/admin
ExecStart=/Sites/cold/admin/bin/cold_admin
WorkingDirectory=/Sites/cold
ExecStart=/Sites/cold/bin/cold_admin
Type=simple
Restart=always

Expand Down
12 changes: 6 additions & 6 deletions cold_api.service-example
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[Unit]
Description=COLD Admin JSON API service
Documentation=man:cold_admin(1)
Description=COLD JSON API service
Documentation=man:cold(1)
After=network.target
ConditionPathExists=!/Sites/cold/admin/cold_admin_api_not_to_be_run
ConditionPathExists=!/Sites/cold/cold_api_not_to_be_run

[Service]
WorkingDirectory=/Sites/cold/admin
ExecStart=/usr/local/bin/datasetd /Sites/cold/cold_admin/cold_admin_api.yaml
WorkingDirectory=/Sites/cold
ExecStart=/usr/local/bin/datasetd /Sites/cold/cold_api.yaml
Type=simple
Restart=always

[Install]
WantedBy=multi-user.target
Alias=cold_admin_api.service
Alias=cold_api.service
2 changes: 1 addition & 1 deletion htdocs/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ <h3>Operating Systems</h3>
</ul>
<h3>Software Requiremets</h3>
<ul>
<li>Deno &gt;= 1.46.3</li>
<li>Deno &gt;= 2.0</li>
<li>GNU Make</li>
<li>Pandoc &gt;= 3.1</li>
<li>datasetd &gt;= 2.1.22</li>
Expand Down
2 changes: 1 addition & 1 deletion htdocs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ feeds.library.caltech.edu which hosts the public API of cold content.

### Software Requiremets

- Deno &gt;= 1.46.3
- Deno &gt;= 2.0
- GNU Make
- Pandoc &gt;= 3.1
- datasetd &gt;= 2.1.22
4 changes: 2 additions & 2 deletions version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ export const appInfo: {[k: string]: string} = {
version: "0.0.7",

// ReleaseDate, the date version.ts was generated
releaseDate: "2024-10-09",
releaseDate: "2024-10-14",

// ReleaseHash, the Git hash when version.go was generated
releaseHash: "485b5fb",
releaseHash: "b0802a3",

// licenseText holds a copy of the application license text.
licenseText: `
Expand Down

0 comments on commit 57da2a8

Please sign in to comment.