fix(systemd): set HOME and DENO_DIR for the systemd service environment

This commit is contained in:
2026-03-16 10:58:08 +00:00
parent 178f440d7e
commit 45b0971f2f
4 changed files with 10 additions and 2 deletions

View File

@@ -1,5 +1,11 @@
# Changelog
## 2026-03-16 - 1.15.2 - fix(systemd)
set HOME and DENO_DIR for the systemd service environment
- Adds HOME=/root to the generated onebox systemd unit
- Adds DENO_DIR=/root/.cache/deno so Deno cache paths are available when running as a service
## 2026-03-16 - 1.15.1 - fix(systemd)
move Docker installation and swarm initialization to systemd enable flow

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/onebox',
version: '1.15.1',
version: '1.15.2',
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
}

View File

@@ -25,6 +25,8 @@ Restart=always
RestartSec=10
WorkingDirectory=/var/lib/onebox
Environment=PATH=/usr/bin:/usr/local/bin
Environment=HOME=/root
Environment=DENO_DIR=/root/.cache/deno
[Install]
WantedBy=multi-user.target

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/onebox',
version: '1.15.1',
version: '1.15.2',
description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers'
}