Today my Opmanger server is down, I start it again but my service doesn’t start by automatic at boot time. So I need to start it by root permission at startup time. And this is my solution.
1. Write your script for start a service
#!/bin/bash echo "Start my service!!!"; cd /path/of/my/script/ ./run_my_script.sh