You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hallo,
I'm not sure if this is possible, but I would like to package a spring boot 2 application as a daemon and I don't really know how to do it. I've noticed that the daemon plugin as a template for initd, but modern linux systems has systemd. I couldn't find a template for that.
If there is no easy way I would like to contribute :)
cheers,
Fernando
The text was updated successfully, but these errors were encountered:
Internally we're currently just running daemontools under systemd:
[Unit]
Description=Daemontools service supervision
[Service]
ExecStart=/usr/bin/svscanboot /service/
Restart=always
TasksMax=infinity
We'd certainly be open to an ospackage-daemon-systemd/ospackage-application-systemd variant - we've certainly discussed it internally but we abstract away service start for our Spring Boot services so it hasn't been a priority.
So in my opinion what is needed is just some code that handle the systemd definition. Systemd is much more advanced than initv, and perform most of the tasks that daemontools does.
hallo,
I'm not sure if this is possible, but I would like to package a spring boot 2 application as a daemon and I don't really know how to do it. I've noticed that the daemon plugin as a template for initd, but modern linux systems has systemd. I couldn't find a template for that.
If there is no easy way I would like to contribute :)
cheers,
Fernando
The text was updated successfully, but these errors were encountered: