mirror of
https://github.com/ordinary-dev/nixos-config.git
synced 2024-09-20 03:40:29 +05:00
Remove custom plausible script
This commit is contained in:
parent
739a457dd8
commit
2aff58969a
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue