make admin run migrations manually

This commit is contained in:
jaina heartles 2024-02-26 10:00:57 -08:00
parent 84ca7ad136
commit ae8ce33217

View file

@ -129,7 +129,7 @@ in {
Environment = "NODE_ENV=production"; Environment = "NODE_ENV=production";
WorkingDirectory = "/srv/misskey"; WorkingDirectory = "/srv/misskey";
User = "misskey"; User = "misskey";
ExecStart = "${nodePackages.pnpm}/bin/pnpm migrateandrun"; ExecStart = "${nodePackages.pnpm}/bin/pnpm start";
RuntimeDirectory = "misskey"; RuntimeDirectory = "misskey";
}; };