Add option to demonstrate persistent service
- Dominant language
- Python
- Stars
- 114
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
I suggest that the example have an option to show running a service as a persistent one so it doesn't stop on app close.
It could be a check box that says "run as persistent service"
I've tried to make it an auto restart service with this line in `start_service` function:
```python
service.mService.setAutoRestartService(True)
```
but no luck.
Contributor guide
Research direction
Start by locating the example's `start_service` function and inspect how `service.mService` is created and stopped when the app closes. Determine how the proposed checkbox should control persistent behavior, then verify that the service remains running after app closure and that the default behavior is unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100