]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
let's put files into ${localstatedir}, and not /tmp
authorAlan T. DeKok <aland@freeradius.org>
Wed, 3 Nov 2021 22:32:58 +0000 (18:32 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 4 Nov 2021 14:57:00 +0000 (10:57 -0400)
raddb/mods-config/sql/driver/sqlite

index 783bc32e443e805af833c08090057b82a6487631..fe7222f0a44c47a9e49e68f8ddb9f9904f1043ed 100644 (file)
@@ -8,7 +8,7 @@
 #
 sqlite {
        # Path to the sqlite database
-       filename = "/tmp/freeradius.db"
+       filename = "${db_dir}/sqlite-${...:instance}.db"
 
        # If the file above does not exist and bootstrap is set
        # a new database file will be created, and the SQL statements