From 6182369804700a52045378207445ab2ddf4ef6dd Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Sat, 23 Mar 2024 12:21:22 -0700 Subject: [PATCH] core: make lxc always restart --- plugins/core/fs/lxc/scrypted.service | 2 +- plugins/core/package-lock.json | 4 ++-- plugins/core/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/core/fs/lxc/scrypted.service b/plugins/core/fs/lxc/scrypted.service index fe46a39678..b664607431 100644 --- a/plugins/core/fs/lxc/scrypted.service +++ b/plugins/core/fs/lxc/scrypted.service @@ -7,7 +7,7 @@ User=root Group=root Type=simple ExecStart=/usr/bin/npx -y scrypted serve -Restart=on-failure +Restart=always RestartSec=3 Environment="NODE_OPTIONS=--dns-result-order=ipv4first" Environment="SCRYPTED_PYTHON_PATH=/usr/bin/python3" diff --git a/plugins/core/package-lock.json b/plugins/core/package-lock.json index a15daca325..52ebaafd39 100644 --- a/plugins/core/package-lock.json +++ b/plugins/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "@scrypted/core", - "version": "0.3.17", + "version": "0.3.18", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@scrypted/core", - "version": "0.3.17", + "version": "0.3.18", "license": "Apache-2.0", "dependencies": { "@scrypted/common": "file:../../common", diff --git a/plugins/core/package.json b/plugins/core/package.json index 7a7ec834de..96bc973d45 100644 --- a/plugins/core/package.json +++ b/plugins/core/package.json @@ -1,6 +1,6 @@ { "name": "@scrypted/core", - "version": "0.3.17", + "version": "0.3.18", "description": "Scrypted Core plugin. Provides the UI, websocket, and engine.io APIs.", "author": "Scrypted", "license": "Apache-2.0",