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

Daemons as services #52

Open
fbecart opened this issue Jun 18, 2020 · 1 comment
Open

Daemons as services #52

fbecart opened this issue Jun 18, 2020 · 1 comment
Labels
feature New feature or request

Comments

@fbecart
Copy link
Owner

fbecart commented Jun 18, 2020

Žinoma makes it possible to define services and use them as dependencies of other targets. At the moment, a service is specified as a script to run. That script will be killed as Žinoma exits. In watch mode, Žinoma restarts services by killing and starting them again.

Žinoma could also accept services accessible as daemons.

These services can usually be operated by a set of commands (start, stop, and sometimes restart). For instance:

targets:
  mongodb:
    service:
      start: sudo systemctl start mongod
      stop: sudo systemctl stop mongod
      restart: sudo systemctl restart mongod
@fbecart
Copy link
Owner Author

fbecart commented Jun 18, 2020

See also #48

@fbecart fbecart added the feature New feature or request label Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant