Compare View

switch
from
...
to
 
Commits (2)

Changes

Showing 4 changed files Side-by-side Diff

... ... @@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4 4  
5 5 Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6 6  
  7 +#### [v1.45.19](https://gitlab.kodesumber.com/komodo/komodo-sdk/compare/v1.45.18...v1.45.19)
  8 +
  9 +- Try not to use systemd-notify package [`bfa52af`](https://gitlab.kodesumber.com/komodo/komodo-sdk/commit/bfa52afc143873bf0bc24cd1ec9e730610b44f45)
  10 +
7 11 #### [v1.45.18](https://gitlab.kodesumber.com/komodo/komodo-sdk/compare/v1.45.17...v1.45.18)
8 12  
  13 +> 19 June 2024
  14 +
9 15 - Try not specifying pid on calling systemd-notify [`6fe3d1b`](https://gitlab.kodesumber.com/komodo/komodo-sdk/commit/6fe3d1b79b676f9e22667715bc8ccf71ac38bda5)
10 16  
11 17 #### [v1.45.17](https://gitlab.kodesumber.com/komodo/komodo-sdk/compare/v1.45.16...v1.45.17)
1 1 {
2 2 "name": "komodo-sdk",
3   - "version": "1.45.18",
  3 + "version": "1.45.19",
4 4 "lockfileVersion": 2,
5 5 "requires": true,
6 6 "packages": {
7 7 "": {
8 8 "name": "komodo-sdk",
9   - "version": "1.45.18",
  9 + "version": "1.45.19",
10 10 "license": "ISC",
11 11 "dependencies": {
12 12 "array-unique": "^0.3.2",
1 1 {
2 2 "name": "komodo-sdk",
3   - "version": "1.45.18",
  3 + "version": "1.45.19",
4 4 "description": "SDK for Komodo",
5 5 "main": "index.js",
6 6 "scripts": {
... ... @@ -3,6 +3,8 @@
3 3  
4 4 const MODULE_NAME = 'KOMODO-SDK.SD-NOTIFY';
5 5  
  6 +const USE_SYSTEMD_NOTIFY_PACKAGE = false;
  7 +
6 8 const util = require('util');
7 9 const logger = require('tektrans-logger');
8 10 const matrix = require('./matrix');
... ... @@ -83,9 +85,11 @@ module.exports = async (statusMsg) => {
83 85 return;
84 86 }
85 87  
86   - const successOnUsingSystemdNotify = await notifyUseSystemdNotify(statusMsg);
87   - if (successOnUsingSystemdNotify) {
88   - return;
  88 + if (USE_SYSTEMD_NOTIFY_PACKAGE) {
  89 + const successOnUsingSystemdNotify = await notifyUseSystemdNotify(statusMsg);
  90 + if (successOnUsingSystemdNotify) {
  91 + return;
  92 + }
89 93 }
90 94  
91 95 const successOnUsingBin = await notifyUseBin();