script_template.sh 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/bin/bash
  2. # info: command function
  3. # options: REQUIRED_ARGUMENT [OPTIONAL_ARGUMENT]
  4. #
  5. # example: v-new-command user dosomething
  6. #
  7. # Add detailed comments about what the function does and how
  8. # to use it here.
  9. #----------------------------------------------------------#
  10. # Variables & Functions #
  11. #----------------------------------------------------------#
  12. # Argument definition
  13. # Includes - Call any necessary libraries from $HESTIA/func/
  14. # Remember to add shellcheck headers!
  15. #----------------------------------------------------------#
  16. # Verifications #
  17. #----------------------------------------------------------#
  18. # Insert any necessary verification steps here
  19. # Perform verification if read-only mode is enabled
  20. # check_hestia_demo_mode
  21. #----------------------------------------------------------#
  22. # Action #
  23. #----------------------------------------------------------#
  24. # Insert action steps here
  25. #----------------------------------------------------------#
  26. # Hestia #
  27. #----------------------------------------------------------#
  28. # Insert logging or last stage service restarts here