-
Notifications
You must be signed in to change notification settings - Fork 773
[Help Wanted] make Dragonfly managed by systemd #1123
Comments
Is this a systemd file for managing all Dragonfly components? Including dfdaemon and supernode? |
I can take this. I implemented the deb and rpm packaging script. It would be rather easy to add 2 services. One for dfdamon, and one for supernode. |
How about |
agree. I could be named |
@inoc603 Any updates? |
I finished the unit files and script. I'll add some test and create a PR this weekend. |
@starnop I ran into some problems testing the service, namely:
I'm not quite familiar with the supernode part and I think we should create a branch in the main repo and work on it together. I'll add what I've wrote and how to test the service in a docker container. |
Here's what we are using to manage the supernode process in systemd... /etc/systemd/system/dragonfly-supernode.service:
|
Signed-off-by: Jim Ma <[email protected]>
Why you need it?
Users have to write their own scripts to handle the startup and management of Dragonfly components when they use Dragonfly on physical machines. And systemd provides a complete solution that.
So we can provide a systemd file. And later, we can even make our components installed by package management tools such as yum, apt, etc directly.
How it could be?
Other related information
The text was updated successfully, but these errors were encountered: