forked from fediversity/fediversity
Compare commits
2 commits
1fcba0942d
...
3eca69140c
Author | SHA1 | Date | |
---|---|---|---|
3eca69140c | |||
38d2f702dd |
1 changed files with 6 additions and 12 deletions
|
@ -178,18 +178,12 @@ 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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue