This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Autostart mock services after server reboot #48
Answered
by
255kb
saravanan30erd
asked this question in
Help
-
@255kb The mock services running by mockoon-cli were stopped after server reboot. Is it possible to enable |
Beta Was this translation helpful? Give feedback.
Answered by
255kb
Nov 23, 2021
Replies: 1 comment 3 replies
-
This is not implemented and I am not sure it's something that we should add in Mockoon CLI directly.
I guess this should be enough to solve your use case 😃 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
255kb
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not implemented and I am not sure it's something that we should add in Mockoon CLI directly.
However, you have two options:
startup
command: https://pm2.keymetrics.io/docs/usage/startup/ (Mockoon CLI is using PM2 to manage the processes)crontab
orupstart
script: https://askubuntu.com/questions/228304/how-do-i-run-a-script-at-start-upI guess this should be enough to solve your use case 😃