feat: move all emissary 'data' files to /data

This commit is contained in:
2023-03-29 12:23:28 +02:00
parent 844c5d0e17
commit aa314a939f
4 changed files with 19 additions and 9 deletions

View File

@ -1,3 +1,4 @@
/etc/machine-id
/etc/emissary/agent-key.json
/etc/emissary/agent-state.json
/data/emissary/agent-key.json
/data/emissary/agent-state.json
/data/emissary/apps/data

View File

@ -0,0 +1,3 @@
#!/bin/sh
export PATH="${PATH}:/usr/local/bin"

View File

@ -3,7 +3,7 @@
set -e
main() {
local default_config="/etc/emissary/default.conf"
local default_config="/data/emissary/default.conf"
if [ ! -f "${default_config}" ]; then
exit 0