[midPoint] how to restart midpoint??

Adebabay Gelaw adebabaygelaw04 at yahoo.com
Mon Apr 8 13:39:33 CEST 2019


am trying this solution but it doesn't work
   
   -    
Create a new file /etc/systemd/system/midpoint.service with the following content:
midpoint.service   
      | [Unit]Description=MidPoint Standalone Service###Requires=postgresql.service###After=postgresql.service[Service]User=midpointWorkingDirectory=/opt/midpointExecStart=/usr/bin/java -Xmx2048m -Dmidpoint.home=/opt/midpoint/var -jar /opt/midpoint/lib/midpoint.warSuccessExitStatus=143###TimeoutStopSec=120s[Install]WantedBy=multi-user.target |


   -    
Run the following commands to enable midpoint service:
   
      | sudo systemctl daemon-reloadsudo systemctl enable midpoint |


   -    
Start midPoint as systemd service using the following command:
   
      | sudo systemctl start midpoint |


   - You can monitor the startup in /opt/midpoint/var/log/midpoint.log (standard midPoint log) or in /var/log/syslog (the file name may vary; if systemd is used, /opt/midpoint/var/log/midpoint.out is not used.
   -    
You can stop midPoint as systemd service using the following command:
   
      | sudo systemctl stop midpoint |


   -    
To disable automatic midPoint startup/shutdown, use the following command:
   
      | sudo systemctl disable midpoint |



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190408/4d625d79/attachment.htm>


More information about the midPoint mailing list