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

"systemctl reenable" not supported #125

Open
kevinburke1 opened this issue Jul 27, 2021 · 2 comments
Open

"systemctl reenable" not supported #125

kevinburke1 opened this issue Jul 27, 2021 · 2 comments

Comments

@kevinburke1
Copy link

Systemd lets me invoke "systemctl reenable" to disable and then enable a unit. Could we add the same behavior?

See reenable here. https://www.freedesktop.org/software/systemd/man/systemctl.html

@gdraheim
Copy link
Owner

Well, that sounds easy to do - the frontend functions can run multiple implementation functions so that running do_disable followd by do_enable should be possible.

May I ask what the use case is about?

@kevinburke1
Copy link
Author

I guess just trying to replace a script written by my coworkers who used it... I'm not sure, honestly, maybe attempting to clear out whatever the current config is and replace it with the new config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants