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";
|
description = "${name} ASGI server";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = [
|
path =
|
||||||
python-environment
|
[
|
||||||
manage-service
|
python-environment
|
||||||
nix
|
manage-service
|
||||||
git
|
]
|
||||||
];
|
++ (
|
||||||
|
with pkgs;
|
||||||
|
lib.makeBinPath [
|
||||||
|
nix
|
||||||
|
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