fix(systemd): Shorten closing log divider in systemd service installation output for consistent formatting.

This commit is contained in:
Philipp Kunz 2025-03-26 18:15:17 +00:00
parent 539547beb8
commit fa4516de3b
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 2025-03-26 - 2.6.14 - fix(systemd)
Shorten closing log divider in systemd service installation output for consistent formatting.
- Replaced the overly long footer with a shorter one in ts/systemd.ts.
- This change improves log readability without affecting functionality.
## 2025-03-26 - 2.6.13 - fix(cli)
Fix CLI update output box formatting

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@serve.zone/nupst',
version: '2.6.13',
version: '2.6.14',
description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices'
}

View File

@ -76,7 +76,7 @@ WantedBy=multi-user.target
// Enable the service
execSync('systemctl enable nupst.service');
console.log('│ Service enabled to start on boot');
console.log('└────────────────────────────────────────────────┘');
console.log('└─────────────────────────────────────────────┘');
} catch (error) {
if (error.message === 'Configuration not found') {
// Just rethrow the error as the message has already been displayed