-
Notifications
You must be signed in to change notification settings - Fork 327
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
All applications and listeners lost after restarting unitd #16
Comments
I have the same issue, also on ubuntu xenial and unit installed from apt. |
You should manually save and restore unitd configuration by call "dumpconfig" and "restoreconfig" service subcommands.
Configuration stores in /etc/unit/config |
Currently configuration is not persistent across reloads and expected to be loaded each time. The patches to make it persistent is on review. |
Implemented in 4953e5b. |
your document should update . |
so do we still have to use |
Now the config is persistent through restart. --state is just for where u want to store the config file ,if |
thanks. and this |
Yes. |
@docteurklein While currently it's the same, it doesn't have to in the future. The content of "store" directory doesn't supposed to be editable by user. It's an internal storage for unit daemon. |
ok, that's good to know, thanks! I'm currently trying to make a docker container that starts a ready to go unitd, without having to |
After restarting with
sudo systemctl restart unitd
:-So I have to add it again:-
This is on Ubuntu Xenial and unit install through apt.
The text was updated successfully, but these errors were encountered: