Files
aitbc/systemd/aitbc-agent-daemon.service
aitbc faf1ca996c
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Remove restrictive systemd security settings across multiple services and add ProtectSystem=no for SQLite WAL mode compatibility
- Remove ProtectSystem=strict and ReadWritePaths from agent-daemon, gpu, learning, marketplace, modality-optimization, monitor, multimodal, and openclaw services
- Add ProtectSystem=no to coordinator-api, exchange-api, and explorer services to allow database writes for SQLite WAL mode
- Retain NoNewPrivileges and ProtectHome security settings across all services
2026-04-15 08:54:38 +02:00

36 lines
964 B
Desktop File

[Unit]
Description=AITBC Autonomous Agent Listener Daemon
Documentation=https://github.com/aitbc/blockchain
After=network.target aitbc-blockchain-node.service
Requires=aitbc-blockchain-node.service
[Service]
Type=simple
User=aitbc
Group=aitbc
WorkingDirectory=/opt/aitbc
Environment="PATH=/opt/aitbc/venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/services/agent_daemon.py \
--wallet temp-agent \
--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 \
--rpc-url http://localhost:8006 \
--poll-interval 2 \
--reply-message pong \
--trigger-message ping
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
[Install]
WantedBy=multi-user.target