Xen Orchestrta as systemd service
-
Could you please add a way to run xen orchestra as service via systemd in xen orchestra manual?
For example I'm using script like this:root@xoa-test:~# cat /usr/lib/systemd/system/xo-server.service [Unit] Description= XO Server After=network-online.target [Service] WorkingDirectory=/opt/xen-orchestra/packages/xo-server/ ExecStart=/usr/bin/yarn start Restart=always SyslogIdentifier=xo-server [Install] WantedBy=multi-user.target -
Hi,
The way you run Xen Orchestra with a service inside your VM is entirely up to you
You can use forever,systemdor whatever you like. It's not related to XO itself but the way you use it! -
@olivierlambert I think using just systemd is more straightforward then forever via systemd.
-
Again, it's up to you

We provide a template inside our repo for those who want to use it: https://github.com/vatesfr/xen-orchestra/blob/8921d7861026a11a2e7007d8451489eee508bdf7/packages/xo-server/xo-server.service
-
@olivierlambert it is pretty outdated

And this is only proposition to add such option to docs.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login