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.7 KiB

3.1.2 / 2022-01-27

  • Fix return value for un-parsable strings

3.1.1 / 2021-11-15

  • Fix "thousandsSeparator" incorrecting formatting fractional part

3.1.0 / 2019-01-22

  • Add petabyte (pb) support

3.0.0 / 2017-08-31

  • Change "kB" to "KB" in format output
  • Remove support for Node.js 0.6
  • Remove support for ComponentJS

2.5.0 / 2017-03-24

  • Add option "unit"

2.4.0 / 2016-06-01

  • Add option "unitSeparator"

2.3.0 / 2016-02-15

  • Drop partial bytes on all parsed units
  • Fix non-finite numbers to .format to return null
  • Fix parsing byte string that looks like hex
  • perf: hoist regular expressions

2.2.0 / 2015-11-13

  • add option "decimalPlaces"
  • add option "fixedDecimals"

2.1.0 / 2015-05-21

  • add .format export
  • add .parse export

2.0.2 / 2015-05-20

  • remove map recreation
  • remove unnecessary object construction

2.0.1 / 2015-05-07

  • fix browserify require
  • remove node.extend dependency

2.0.0 / 2015-04-12

  • add option "case"
  • add option "thousandsSeparator"
  • return "null" on invalid parse input
  • support proper round-trip: bytes(bytes(num)) === num
  • units no longer case sensitive when parsing

1.0.0 / 2014-05-05

  • add negative support. fixes #6

0.3.0 / 2014-03-19

  • added terabyte support

0.2.1 / 2013-04-01

  • add .component

0.2.0 / 2012-10-28

  • bytes(200).should.eql('200b')

0.1.0 / 2012-07-04

  • add bytes to string conversion [yields]