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

Reload command #22

Closed
xen0l opened this issue Mar 27, 2015 · 2 comments
Closed

Reload command #22

xen0l opened this issue Mar 27, 2015 · 2 comments
Assignees
Milestone

Comments

@xen0l
Copy link
Contributor

xen0l commented Mar 27, 2015

Ludolph should support reload command, which will restart him. Optionally, this could be combined with upgrade. The implementation should be simple:

  1. Ludolph receives reload command and correctly exits
  2. Serverside component will detect it and bring him up. This can be any service manager (monit, systemd, SMF etc)
  3. Before starting ludolph, the startup script should try to update Ludolph's source code
@ricco386 ricco386 added this to the 0.5.1 milestone Mar 27, 2015
@ricco386 ricco386 self-assigned this Mar 27, 2015
@ricco386
Copy link
Member

I have added command shutdown which can only admin execute and it will stop Ludolph (support roster announcement).

We should create wiki page how to configure monit, systemd, SMF to bring Ludolph up automatically. E.g., we can pre-prepare configuratin files similar to init.d scripts so user can easily reuse them...

@ricco386 ricco386 assigned xen0l and unassigned ricco386 Mar 28, 2015
@ricco386 ricco386 modified the milestones: 0.6.0, 0.5.1 Apr 21, 2015
@ricco386
Copy link
Member

It would be nice to have SMF manifest, monit configration, however there is no way to update without have access to OS, and if user has access to Ludolph on OS he can use reload command, which does this thing.

There was a point that it is bad practice to stop program and rely to other stuff to start it again, not sure if this function should be kept in Ludolph as it is potentially dangerous.

@dn0 dn0 assigned dn0 and xen0l and unassigned xen0l and dn0 Apr 23, 2015
@dn0 dn0 closed this as completed in 4531709 Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants