disable steam logger, package is broken

This commit is contained in:
cronekorkn 2023-12-11 09:38:49 +01:00
parent fdd35e0a2c
commit 70091eca8c
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw

View file

@ -34,18 +34,19 @@ defaults = {
) )
def systemd_timer(metadata): def systemd_timer(metadata):
return { return {
'systemd-timers': { # steam python login is broken: https://github.com/ValvePython/steam/issues/442
f'steam-chat-logger': { # 'systemd-timers': {
'command': '/opt/steam_chat_logger/steam_chat_logger.py', # f'steam-chat-logger': {
'when': 'hourly', # 'command': '/opt/steam_chat_logger/steam_chat_logger.py',
'user': 'steam_chat_logger', # 'when': 'hourly',
'env': { # 'user': 'steam_chat_logger',
'DB_NAME': 'steam_chat_logger', # 'env': {
'DB_USER': 'steam_chat_logger', # 'DB_NAME': 'steam_chat_logger',
'DB_PASSWORD': metadata.get('postgresql/roles/steam_chat_logger/password'), # 'DB_USER': 'steam_chat_logger',
**metadata.get('steam_chat_logger'), # 'DB_PASSWORD': metadata.get('postgresql/roles/steam_chat_logger/password'),
}, # **metadata.get('steam_chat_logger'),
'working_dir': '/var/lib/steam_chat_logger', # },
}, # 'working_dir': '/var/lib/steam_chat_logger',
}, # },
# },
} }