You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release v0.5: Smart Service Management & Configuration Protection
Major improvements to upgrade process and systemd integration:
✅ Smart Service Management
- Automatic detection of running service before upgrades
- Graceful service stop/start during upgrade process
- State preservation - maintains service running state
- Enhanced logging and user feedback throughout upgrades
✅ Enhanced Configuration Protection
- Never overwrite user-modified config.yaml files
- Priority-based configuration preservation system
- Automatic backup creation before any changes
- Clear user notifications about configuration protection
✅ Improved Systemd Integration
- Fixed systemd service file configuration issues
- Resolved GROUP permission errors
- Simplified security settings for reliability
- Better error handling and service startup
✅ Updated Documentation
- Comprehensive README updates with new features
- Added troubleshooting for new functionality
- Detailed changelog with all improvements
- Enhanced quick start guide with service tips
Breaking Changes:
- None - fully backward compatible
Security Improvements:
- Configuration files are now protected from accidental overwrites
- Service management is more reliable and predictable
- Better error handling prevents service failures
This release focuses on making upgrades completely safe and seamless,
with zero risk of configuration loss and intelligent service handling.
- ⚡ **Zero-Downtime Updates** - Service is properly stopped and restarted during upgrades
14
15
15
16
## Quick Start
16
17
@@ -44,24 +45,26 @@ cd cliproxyapi-installer
44
45
```
45
46
46
47
3.**Start the service**:
47
-
```bash
48
-
# Direct execution
49
-
./cli-proxy-api
48
+
```bash
49
+
# Direct execution
50
+
./cli-proxy-api
50
51
51
-
# Or as a systemd service
52
-
systemctl --user enable cliproxyapi.service
53
-
systemctl --user start cliproxyapi.service
54
-
systemctl --user status cliproxyapi.service
55
-
```
52
+
# Or as a systemd service (recommended)
53
+
systemctl --user enable cliproxyapi.service
54
+
systemctl --user start cliproxyapi.service
55
+
systemctl --user status cliproxyapi.service
56
+
```
56
57
57
58
4. **Enable autostart on boot** (recommended):
58
-
```bash
59
-
# Enable the service to start automatically on user login
60
-
systemctl --user enable cliproxyapi.service
61
-
62
-
# Verify it's enabled
63
-
systemctl --user is-enabled cliproxyapi.service
64
-
```
59
+
```bash
60
+
# Enable the service to start automatically on user login
61
+
systemctl --user enable cliproxyapi.service
62
+
63
+
# Verify it's enabled
64
+
systemctl --user is-enabled cliproxyapi.service
65
+
```
66
+
67
+
>**💡 Pro Tip**: The installer automatically manages the systemd service during upgrades. If the service is running when you upgrade, it will be gracefully stopped, updated, and restarted automatically.
65
68
66
69
## Usage
67
70
@@ -167,12 +170,21 @@ sudo dnf install curl wget tar
167
170
168
171
## Systemd Service
169
172
170
-
The installer creates a systemd service file for easy management:
173
+
The installer creates and manages a systemd service file for easy lifecycle management:
174
+
175
+
### ✨ Smart Service Management
176
+
177
+
The installer provides intelligent service handling during upgrades:
178
+
179
+
-**Automatic Detection**: Detects if the service is running before upgrades
180
+
-**Graceful Shutdown**: Safely stops the service before applying updates
181
+
-**Auto-Restart**: Restarts the service after successful upgrades
182
+
-**State Preservation**: Maintains the service's previous running state
0 commit comments