Files
aitbc/systemd/aitbc-wallet.service
aitbc ad50f1fede
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Add ProtectSystem=no to wallet daemon systemd service to allow database writes for SQLite WAL mode
2026-04-15 08:42:51 +02:00

32 lines
750 B
Desktop File

[Unit]
Description=AITBC Wallet Daemon with Multi-Chain Support
After=network.target
Wants=network.target
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/aitbc/apps/wallet
Environment=PYTHONPATH=/opt/aitbc/apps/wallet/src:/opt/aitbc/packages/py/aitbc-crypto/src:/opt/aitbc/packages/py/aitbc-sdk/src
Environment=COORDINATOR_API_KEY=test-key
ExecStart=/opt/aitbc/venv/bin/python /opt/aitbc/apps/wallet/simple_daemon.py
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=false
Restart=on-failure
RestartSec=10
StartLimitInterval=60
StartLimitBurst=3
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=aitbc-wallet-daemon
# Allow database writes for SQLite WAL mode
ProtectSystem=no
[Install]
WantedBy=multi-user.target