possibly reload misskey on update?
This commit is contained in:
parent
3310c28617
commit
e88cf17c35
|
@ -64,7 +64,6 @@ in {
|
||||||
wantedBy = [ "misskey.service" ];
|
wantedBy = [ "misskey.service" ];
|
||||||
after = [ "home-manager-misskey.service" "network.target" ];
|
after = [ "home-manager-misskey.service" "network.target" ];
|
||||||
path = with pkgs; [ bash git rsync ] ++ misskeyPackages;
|
path = with pkgs; [ bash git rsync ] ++ misskeyPackages;
|
||||||
reloadTriggers = [ misskeyPackage misskeyConfigFile ];
|
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
mkdir -p /home/misskey/misskey || true
|
mkdir -p /home/misskey/misskey || true
|
||||||
|
@ -101,6 +100,7 @@ in {
|
||||||
wants = [ "postgresql.service" "redis-misskey.service" ];
|
wants = [ "postgresql.service" "redis-misskey.service" ];
|
||||||
path = with pkgs; [ bash git ] ++ misskeyPackages;
|
path = with pkgs; [ bash git ] ++ misskeyPackages;
|
||||||
environment.NODE_ENV = "production";
|
environment.NODE_ENV = "production";
|
||||||
|
reloadTriggers = [ misskeyPackage misskeyConfigFile ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "misskey";
|
User = "misskey";
|
||||||
WorkingDirectory = "/home/misskey/misskey";
|
WorkingDirectory = "/home/misskey/misskey";
|
||||||
|
|
Loading…
Reference in a new issue