Yes (if you used systemd).
If it doesn’t work, post the output of everything and let us know what OS exactly you are using.