Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add daemon service definitions #15

Closed
maxfischer2781 opened this issue Jan 9, 2019 · 1 comment
Closed

Add daemon service definitions #15

maxfischer2781 opened this issue Jan 9, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request subject: daemon Issues affecting the daemon framework

Comments

@maxfischer2781
Copy link
Member

Since cobald already provides the daemon runtime, it should also provide the means to run it as a daemon. This means to provide a systemd unit file, sysv init script, and so on.

Note that setup.py should not automatically install a system service, as there may be viable cases to install as user or standalone service.

I suggest different approach; Python packages themselves should stay neutral as possible and do not force any systemd manipulation which imply root priviledges during setup.py run. What happens if user wants to install your package to a virtualenv for development? Instead, I suggest your application ships with a separate script in bin which can do systemd installation: packaging.python.org/en/latest/distributing/#entry-points
[From stackoverflow thread]

See also #10 , inform @mschnepf

@maxfischer2781 maxfischer2781 added enhancement New feature or request subject: daemon Issues affecting the daemon framework labels Jan 31, 2019
@maxfischer2781
Copy link
Member Author

See #30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request subject: daemon Issues affecting the daemon framework
Projects
None yet
Development

No branches or pull requests

2 participants