Files
aitbc/systemd/aitbc-agent-daemon.service
aitbc ca34b6fee3
Some checks failed
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
Systemd Sync / sync-systemd (push) Has been cancelled
Consolidate service scripts into apps directories
- Move blockchain scripts to apps/blockchain-node/scripts/
- Move marketplace scripts to apps/marketplace/scripts/
- Move agent daemon to apps/agent-coordinator/scripts/
- Move monitor to apps/monitor/
- Update systemd service files to point to new locations
- Update internal path references in moved scripts
- Remove empty /opt/aitbc/services directory
2026-04-15 11:56:03 +02:00

38 lines
1.0 KiB
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
EnvironmentFile=/etc/aitbc/.env
EnvironmentFile=/etc/aitbc/node.env
Environment="PATH=/opt/aitbc/venv/bin:/usr/local/bin:/usr/bin:/bin"
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/apps/agent-coordinator/scripts/agent_daemon.py \
--wallet temp-agent \
--address ait1d18e286fc0c12888aca94732b5507c8787af71a5 \
--password-file /var/lib/aitbc/keystore/.agent_daemon_password \
--keystore-dir /var/lib/aitbc/keystore \
--db-path /var/lib/aitbc/data/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