Init.d vs systemd on ubuntu

Hey.
I see that the latest ubuntu uses systemd instead of init.d for creating the XP service.
When following the Enonic guide on how to create init.d service, it´s no problem, because this also creates a XP.service systemd service.

I would just like to point out that your documentation needs to be updated.

When systemd is in place, the correct way to stop/start/status the XP service is:

sudo systemctl stop xp.service
sudo systemctl start xp.service
sudo systemctp status xp.service

This is ubuntu 16.04 that I´m looking at.

3 Likes

Thanks for pointing this out, @rockbert
We have created a github issue to update the doc: https://github.com/enonic/xp-doc/issues/36 - You may follow the progress there.