Change database file permissions from restrictive owner-only to permissive read/write for all users and update agent daemon database path
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Integration Tests / test-service-integration (push) Has been cancelled
Python Tests / test-python (push) Has been cancelled
Security Scanning / security-scan (push) Has been cancelled

- Change chmod permissions from 0600 (owner-only) to 0666 (read/write for all) for database file and WAL files in blockchain node database initialization
- Update comment to reflect permissive permissions for handling filesystem restrictions
- Update agent daemon service database path from /var/lib/aitbc/data/ait-mainnet/chain.db to /var/lib/aitbc/data/chain.db
This commit is contained in:
aitbc
2026-04-15 09:12:57 +02:00
parent 3eb1555aa4
commit cd6dc870d1
2 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/services/agent_daemon.py \
--address ait1d18e286fc0c12888aca94732b5507c8787af71a5 \
--password-file /opt/aitbc/.agent_daemon_password \
--keystore-dir /var/lib/aitbc/keystore \
--db-path /var/lib/aitbc/data/ait-mainnet/chain.db \
--db-path /var/lib/aitbc/data/chain.db \
--rpc-url http://localhost:8006 \
--poll-interval 2 \
--reply-message pong \