[midPoint] how to restart midpoint??
Ivan Noris
ivan.noris at evolveum.com
Wed Apr 10 03:00:25 CEST 2019
Hi,
what exactly "does not work"?
We are using this service script and the command line in each training (for example). Do you have any errors in midpoint.log or syslog while attempting to setup this?
Regards,
Ivan
From: "Adebabay Gelaw" <adebabaygelaw04 at yahoo.com>
To: "midPoint General Discussion" <midpoint at lists.evolveum.com>
Sent: Monday, April 8, 2019 7:39:33 AM
Subject: [midPoint] how to restart midpoint??
am trying this solution but it doesn't work
1.
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=midpoint
WorkingDirectory= /opt/midpoint
ExecStart= /usr/bin/java -Xmx2048m -Dmidpoint.home= /opt/midpoint/var -jar /opt/midpoint/lib/midpoint .war
SuccessExitStatus=143
###TimeoutStopSec=120s
[Install]
WantedBy=multi-user.target
2.
Run the following commands to enable midpoint service:
sudo systemctl daemon-reload
sudo systemctl enable midpoint
3.
Start midPoint as systemd service using the following command:
sudo systemctl start midpoint
4. 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.
5.
You can stop midPoint as systemd service using the following command:
sudo systemctl stop midpoint
6.
To disable automatic midPoint startup/shutdown, use the following command:
sudo systemctl disable midpoint
_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint
--
Ivan Noris
Senior Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190410/be35e3d4/attachment.htm>
More information about the midPoint
mailing list