diff --git a/changelog.md b/changelog.md index 1ecdee8..b065463 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2026-03-16 - 1.15.3 - fix(install) +refresh systemd service configuration before restarting previously running installations + +- Re-enable the systemd service during updates so unit file changes are applied before restart +- Add a log message indicating the service configuration is being refreshed + ## 2026-03-16 - 1.15.2 - fix(systemd) set HOME and DENO_DIR for the systemd service environment diff --git a/install.sh b/install.sh index 03f0db1..d92bb6f 100755 --- a/install.sh +++ b/install.sh @@ -250,8 +250,10 @@ echo "" mkdir -p /var/lib/onebox mkdir -p /var/www/certbot -# Restart service if it was running before update +# Re-enable and restart service if it was previously running (refreshes unit file) if [ $SERVICE_WAS_RUNNING -eq 1 ]; then + echo "Refreshing systemd service..." + onebox systemd enable echo "Restarting Onebox service..." systemctl restart "$SERVICE_NAME" echo "Service restarted successfully." diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 80784d2..6579db8 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/onebox', - version: '1.15.2', + version: '1.15.3', description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers' } diff --git a/ts_web/00_commitinfo_data.ts b/ts_web/00_commitinfo_data.ts index 80784d2..6579db8 100644 --- a/ts_web/00_commitinfo_data.ts +++ b/ts_web/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/onebox', - version: '1.15.2', + version: '1.15.3', description: 'Self-hosted container platform with automatic SSL and DNS - a mini Heroku for single servers' }