Skip to content

DevOps: App Reboot Script Troubleshooting

elisa lee edited this page Apr 7, 2022 · 3 revisions

DevOps: App Reboot Script Troubleshooting

Prereqs

  • Access to VAEC server you would like to troubleshoot

Steps

  • Checking the status of the appstartup service: sudo systemctl status appstartup

    • Next to Active: it should say active (running)
  • Ensure the script is executable: sudo ls -la /usr/local/bin | grep appstartup.sh

  • If not, change the permissions so that they are: sudo chmod +x /usr/local/bin/appstartup.sh

    • Ensure the script is executable after changing the permissions.
  • Run the service: sudo systemctl start appstartup

  • Check the status: sudo systemctl status appstartup

    • Next to Active: it should say active (running)
  • Enable the service: sudo systemctl enable appstartup

  • Check the status: sudo systemctl status appstartup

    • Next to Active: it should say inactive (dead) but NOT failed
Clone this wiki locally