hybris start stop in systemd

a) copiare il systemd_wrapper.sh nella dir
/hybris/hybris/bin/platform/tomcat/bin/ ed assegnare il permesso di
esecuzione
b) copiare i due service in /usr/lib/systemd/system e ricaricare le
units (systemctl daemon-reload)
c) abilitare il hybris-mounts.service con systemctl enable hybris-mounts.service

hybris start stop

On RHEL 7

Edit the file /hybris/hybris/bin/platform/tomcat/bin/wrapper.sh

RUN_AS_USER=hybri

then

/hybris/hybris/bin/platform/tomcat/bin/wrapper.sh install
(as root) crontab -e

add the line

@reboot /etc/init.d/hybrisPlatform start

Welcome!!!

Hi guys,

 

this is my second try in publishing some kind of useful things about operating systems, networking and (why not?) my everyday’s life.

Hope you’ll enjoy!

See ya!