Monday, January 7, 2019

Add environment variable to a systemd service - Redhat linux 7.x

sudo mkdir /etc/systemd/system/apache-ignite@.service.d sudo vi /etc/systemd/system/apache-ignite@.service.d/apache-ignite.conf [Service] Environment=IGNITE_JMX_PORT=49005 sudo systemctl daemon-reload sudo systemctl restart apache-ignite@ignite-server.xml

No comments:

Post a Comment