kivy / kivy/oscpy

Add option to demonstrate persistent service

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.