forked from fediversity/fediversity
Compare commits
2 commits
3eca69140c
...
1fcba0942d
Author | SHA1 | Date | |
---|---|---|---|
1fcba0942d | |||
87a20886cd |
1 changed files with 12 additions and 6 deletions
|
@ -178,12 +178,18 @@ in
|
|||
description = "${name} ASGI server";
|
||||
after = [ "network.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [
|
||||
python-environment
|
||||
manage-service
|
||||
nix
|
||||
git
|
||||
];
|
||||
path =
|
||||
[
|
||||
python-environment
|
||||
manage-service
|
||||
]
|
||||
++ (
|
||||
with pkgs;
|
||||
lib.makeBinPath [
|
||||
nix
|
||||
git
|
||||
]
|
||||
);
|
||||
preStart = ''
|
||||
# Auto-migrate on first run or if the package has changed
|
||||
versionFile="/var/lib/${name}/package-version"
|
||||
|
|
Loading…
Add table
Reference in a new issue