passaggio su postgres del wallet

This commit is contained in:
2024-12-23 19:34:44 +01:00
parent 313fc81dc7
commit 42b4f85699
7 changed files with 86 additions and 19 deletions

View File

@@ -0,0 +1,2 @@
if $programname == 'control_mqtt' then /var/log/mqtt_ase/subscriber_manager.log
& stop

View File

@@ -0,0 +1,2 @@
if $programname == 'password_wallet' then /var/log/mqtt_ase/password_wallet.log
& stop

View File

@@ -6,6 +6,7 @@ After=network.target
User=mosquitto
WorkingDirectory=/var/lib/mosquitto
ExecStart=/var/lib/mosquitto/.venv/bin/python3 /var/lib/mosquitto/password_wallet_api.py
EnvironmentFile=/var/lib/mosquitto/data/.env
Restart=always
SyslogIdentifier=password_wallet