I have been playing around with creating a systemd service file for the contoller appserver and DB. I currently have this:
Description=AppDynamics Controller with DB
ExecStart=/opt/appdynamics/enterpriseconsole/platform-admin/bin/platform-admin.sh start-controller-appserver --with-db
ExecStop=/opt/appdynamics/enterpriseconsole/platform-admin/bin/platform-admin.sh stop-controller-appserver --with-db
However, this doesn't work as I need to login to the platform-admin first. First, I'm not quite sure how to do this in my service file. So I was thinking of creating a scipt that will log into the platform-admin then issue the 'platform-admin.sh start-controller-appserver --with-db' or the stop command, then the service file would just reference these scripts. Unless I'm overthinking this and thiers an easier way to do this. Any help would be great.
... View more