Setup Applications Manager as Service in Ubuntu 16 and above
Follow the steps mentioned below to install AppManager as a service on a Linux box.
- Copy the attached AppManagerLinuxService file to /etc/init.d directory as the file "AppManager"
- Edit the MDIR variable in this file (in two locations) which should point to the Home folder of AppManager Installation directory. Typically, the default installation folder on a Linux box will be /opt/ME/AppManager15. Hence the value for MDIR will be,
- MDIR=/opt/ME/AppManager15
- Provide executable permissions for this script using "chmod 755 /etc/init.d/AppManager"
- Add "AppManager" as a service using the command "update-rc.d AppManager defaults"
Follow below steps to make AppManager start automatically on machine reboot or restart
- Download the attached AppManager.service file and place it under /etc/systemd/system/ directory
- Provide executable permission for AppManager.service file using "sudo chmod 644 /etc/systemd/system/AppManager.service"
- Run below command to enable AppManager.service
- sudo systemctl enable /etc/systemd/system/AppManager.service
- Enabling the service will start AppManager only on machine restart. For immediate startup run the start command
- sudo systemctl start AppManager.service
- For stopping the service use below command
- sudo systemctl stop AppManager.service
Note: After enabling the service, AppManager will start automatically on machine reboot or restart
New to ADSelfService Plus?