Skip to content

Instantly share code, notes, and snippets.

@dev-armando
Last active September 23, 2022 20:25
Show Gist options
  • Save dev-armando/98e0f53bdda789d51c0ae8fa86ddcdba to your computer and use it in GitHub Desktop.
Save dev-armando/98e0f53bdda789d51c0ae8fa86ddcdba to your computer and use it in GitHub Desktop.
nano /etc/systemd/system/idempiere.service
-----------------------------------
[Unit]
Description=Description for sample script goes here
After=local-fs.target
[Service]
Type=simple
ExecStart=/opt/Apps/idempiere-server-7.1/idempiere-server.sh
TimeoutStartSec=0
[Install]
WantedBy=default.target
----------------------------------
systemctl daemon-reload
systemctl enable idempiere.service
systemctl start idempiere.service
systemctl reboot
----------
# If is CentOs
sudo setenforce 0
sudo nano /etc/selinux/config
SELINUX=disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment