Set the DB path as an env var in systemd service files to prevent footgunning

This commit is contained in:
Ginger 2025-08-29 12:16:21 -04:00
commit 95aeff8cdc
4 changed files with 7 additions and 2 deletions

View file

@ -15,6 +15,7 @@ Environment="CONTINUWUITY_CONFIG=/etc/conduwuit/conduwuit.toml"
Environment="CONTINUWUITY_LOG_TO_JOURNALD=true"
Environment="CONTINUWUITY_JOURNALD_IDENTIFIER=%N"
Environment="CONTINUWUITY_DATABASE_PATH=/var/lib/conduwuit"
ExecStart=/usr/bin/conduwuit