Example
systemctl service file to start the AdminService. The following is provided '
as-is'. Any issues will need to be further explored with a Linux Administrator.
1) cd
/etc/systemd/system2) sudo su
3) vi admsrvc.service
Change the values in the file sample below for ExecStart and ExecStop to point to the correct installation directory.
Sample systemctl service file
#
[Unit]
Description=AdminService for OpenEdge
After=network.target
[Service]
ExecStart=/usr/dlc/bin/proadsv -start
ExecStop=/usr/dlc/bin/proadsv -stop
Type=forking
[Install]
WantedBy=default.target4) To start / stop the AdminServer :
$ sudo systemctl daemon-reload
$ sudo systemctl start admsrvc
$ sudo systemctl stop admsrvc
Once the AdminService is started with the
"systemctl start admsrvc" command, all databases and ubrokers configured to autostart will be started by the AdminServer.
5) To enable the service to start at boot time:
sudo systemctl enable admsrvcNote: Although the steps above refers to the AdminServer, the same methodology can be applied in order to start PASOE instances and fathom ( See example in
Openedge 12 fathom won't start)