MerginMaps / MerginMaps/db-sync
Windows service instead of executable
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 53
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
It would be good to have an installer to install DB-Sync as a service instead of a stand-alone executable as the executable would need to be run in a logged in session.
I managed to use `sc.exe` to turn the executable to a service (credit to [this](https://stackoverflow.com/questions/3582108/create-windows-service-from-executable)), with the following steps, which I assume an installer can do:
1- Create a new folder under C:\Program Files\ called db-sync
2- Place the executable for db-sync there.
3- Create a BAT file with the following content:
`sc.exe create db-sync binPath= "C:\Program Files\db-sync\dbsync_daemon.exe"`
4- Add the BAT file to your start up
You should be able to see the service:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the repository's packaging and installation entry points, since the issue names no specific files or tests. The change would be complete when an installer can place DB-Sync and register it as a Windows service that runs without a logged-in session.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- devops, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100