forked from hestiacp/hestiacp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript_template.sh
More file actions
38 lines (28 loc) · 1.26 KB
/
script_template.sh
File metadata and controls
38 lines (28 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# info: command function
# options: REQUIRED_ARGUMENT [OPTIONAL_ARGUMENT]
#
# example: v-new-command user dosomething
#
# Add detailed comments about what the function does and how
# to use it here.
#----------------------------------------------------------#
# Variables & Functions #
#----------------------------------------------------------#
# Argument definition
# Includes - Call any necessary libraries from $HESTIA/func/
# Remember to add shellcheck headers!
#----------------------------------------------------------#
# Verifications #
#----------------------------------------------------------#
# Insert any necessary verification steps here
# Perform verification if read-only mode is enabled
# check_hestia_demo_mode
#----------------------------------------------------------#
# Action #
#----------------------------------------------------------#
# Insert action steps here
#----------------------------------------------------------#
# Hestia #
#----------------------------------------------------------#
# Insert logging or last stage service restarts here