Compare commits

..

2 commits

Author SHA1 Message Date
1fcba0942d reformat with updated nixfmt 2025-06-10 13:17:19 +02:00
87a20886cd use deployed environment for launching nixops4 from the panel
this still needs more work to clean up fully
2025-06-10 13:16:42 +02:00

View file

@ -178,12 +178,18 @@ in
description = "${name} ASGI server"; description = "${name} ASGI server";
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = [ path =
[
python-environment python-environment
manage-service manage-service
]
++ (
with pkgs;
lib.makeBinPath [
nix nix
git git
]; ]
);
preStart = '' preStart = ''
# Auto-migrate on first run or if the package has changed # Auto-migrate on first run or if the package has changed
versionFile="/var/lib/${name}/package-version" versionFile="/var/lib/${name}/package-version"