ncantu 46bf9676a0 Install and enable all missing systemd services
**Motivations:**
- Ensure all application directories have systemd services enabled at boot
- Complete service installation for api-relay, filigrane-api, and clamav-api
- Fix dependencies and import issues preventing clamav-api from starting

**Root causes:**
- Three services (api-relay, filigrane-api, clamav-api) had service files but were not installed in systemd
- api-clamav had incorrect node-clamav version (0.12.1) that doesn't exist
- api-clamav dependencies were not installed (node_modules missing)
- ES module import syntax incompatible with CommonJS node-clamav package

**Correctifs:**
- Installed api-relay.service, filigrane-api.service, and clamav-api.service in /etc/systemd/system/
- Enabled all three services for automatic startup at boot
- Updated api-clamav/package.json: changed node-clamav version from ^0.12.1 to ^1.0.11
- Installed npm dependencies for api-clamav
- Fixed ES module import in api-clamav/src/routes/scan.js to use CommonJS-compatible syntax

**Evolutions:**
- All 7 application services now have systemd services enabled at boot
- Complete service coverage: anchorage-api, faucet-api, signet-dashboard, userwallet, api-relay, filigrane-api, clamav-api
- All services verified active and listening on their respective ports

**Pages affectées:**
- api-clamav/package.json
- api-clamav/src/routes/scan.js
- api-clamav/node_modules/ (new)
- api-clamav/package-lock.json (new)
- /etc/systemd/system/api-relay.service (new)
- /etc/systemd/system/filigrane-api.service (new)
- /etc/systemd/system/clamav-api.service (new)
2026-01-26 12:56:11 +01:00

1.6 KiB

2.0.2 / 2025-06-06

  • Migrate to String.prototype.slice()

2.0.1 / 2021-01-03

  • Fix returning values from Object.prototype

2.0.0 / 2020-04-19

  • Drop support for Node.js 0.6
  • Fix messaging casing of 418 I'm a Teapot
  • Remove code 306
  • Remove status[code] exports; use status.message[code]
  • Remove status[msg] exports; use status.code[msg]
  • Rename 425 Unordered Collection to standard 425 Too Early
  • Rename STATUS_CODES export to message
  • Return status message for statuses(code) when given code

1.5.0 / 2018-03-27

  • Add 103 Early Hints

1.4.0 / 2017-10-20

  • Add STATUS_CODES export

1.3.1 / 2016-11-11

  • Fix return type in JSDoc

1.3.0 / 2016-05-17

  • Add 421 Misdirected Request
  • perf: enable strict mode

1.2.1 / 2015-02-01

  • Fix message for status 451
    • 451 Unavailable For Legal Reasons

1.2.0 / 2014-09-28

  • Add 208 Already Repored
  • Add 226 IM Used
  • Add 306 (Unused)
  • Add 415 Unable For Legal Reasons
  • Add 508 Loop Detected

1.1.1 / 2014-09-24

  • Add missing 308 to codes.json

1.1.0 / 2014-09-21

  • Add codes.json for universal support

1.0.4 / 2014-08-20

  • Package cleanup

1.0.3 / 2014-06-08

  • Add 308 to .redirect category

1.0.2 / 2014-03-13

  • Add .retry category

1.0.1 / 2014-03-12

  • Initial release