Remove custom plausible script

This commit is contained in:
Ivan R. 2023-12-10 20:42:21 +05:00
parent 739a457dd8
commit 2aff58969a
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C

View file

@ -31,18 +31,4 @@
};
};
};
systemd.services.plausible.script = lib.mkForce ''
export CONFIG_DIR=$CREDENTIALS_DIRECTORY
export RELEASE_COOKIE="$(< $CREDENTIALS_DIRECTORY/RELEASE_COOKIE )"
# Do not create the database.
# https://github.com/plausible/analytics/issues/405
# ${config.services.plausible.package}/createdb.sh
${config.services.plausible.package}/migrate.sh
exec plausible start
'';
}