create the folder
This commit is contained in:
parent
a3f7f966d0
commit
3561c4de3a
3 changed files with 5 additions and 0 deletions
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -21,6 +21,7 @@ override_dh_auto_install:
|
|||
mkdir -p debian/crowdsec/etc/crowdsec/hub/
|
||||
mkdir -p debian/crowdsec/usr/share/crowdsec/config
|
||||
mkdir -p debian/crowdsec/etc/crowdsec/console/
|
||||
mkdir -p debian/crowdsec/etc/crowdsec/context/
|
||||
|
||||
mkdir -p debian/crowdsec/usr/lib/crowdsec/plugins/
|
||||
mkdir -p debian/crowdsec/etc/crowdsec/notifications/
|
||||
|
|
|
@ -59,6 +59,8 @@
|
|||
<File Id="context.yaml" Source="config\context.yaml" />
|
||||
</Component>
|
||||
</Directory>
|
||||
<Directory Id="ContextDir" Name="context">
|
||||
</Directory>
|
||||
<Component Id="OnlineCreds" Guid="a652a6cb-d464-40b1-8f50-78dce0135d20">
|
||||
<File Id="online_api_credentials.yaml" Source="config\online_api_credentials.yaml">
|
||||
<PermissionEx Sddl="D:PAI(A;;FA;;;SY)(A;;FA;;;BA)"/>
|
||||
|
|
|
@ -29,6 +29,7 @@ CROWDSEC_LOG_FILE="/var/log/crowdsec.log"
|
|||
LAPI_LOG_FILE="/var/log/crowdsec_api.log"
|
||||
CROWDSEC_PLUGIN_DIR="${CROWDSEC_USR_DIR}/plugins"
|
||||
CROWDSEC_CONSOLE_DIR="${CROWDSEC_PATH}/console"
|
||||
CROWDSEC_CONTEXT_DIR="${CROWDSEC_PATH}/context"
|
||||
|
||||
CROWDSEC_BIN="./cmd/crowdsec/crowdsec"
|
||||
CSCLI_BIN="./cmd/crowdsec-cli/cscli"
|
||||
|
@ -415,6 +416,7 @@ install_crowdsec() {
|
|||
mkdir -p "${CROWDSEC_CONFIG_PATH}/collections" || exit
|
||||
mkdir -p "${CROWDSEC_CONFIG_PATH}/patterns" || exit
|
||||
mkdir -p "${CROWDSEC_CONSOLE_DIR}" || exit
|
||||
mkdir -p "${CROWDSEC_CONTEXT_DIR}" || exit
|
||||
|
||||
#tmp
|
||||
mkdir -p /tmp/data
|
||||
|
|
Loading…
Add table
Reference in a new issue