From e88cf17c358636b27087b0c44d869c2861fecf84 Mon Sep 17 00:00:00 2001 From: Chaos Date: Sat, 3 Dec 2022 13:37:26 +0000 Subject: [PATCH] possibly reload misskey on update? --- hosts/hetzner-vm/profiles/misskey.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/hetzner-vm/profiles/misskey.nix b/hosts/hetzner-vm/profiles/misskey.nix index a1269d2..6ed5a97 100644 --- a/hosts/hetzner-vm/profiles/misskey.nix +++ b/hosts/hetzner-vm/profiles/misskey.nix @@ -64,7 +64,6 @@ in { wantedBy = [ "misskey.service" ]; after = [ "home-manager-misskey.service" "network.target" ]; path = with pkgs; [ bash git rsync ] ++ misskeyPackages; - reloadTriggers = [ misskeyPackage misskeyConfigFile ]; script = '' mkdir -p /home/misskey/misskey || true @@ -101,6 +100,7 @@ in { wants = [ "postgresql.service" "redis-misskey.service" ]; path = with pkgs; [ bash git ] ++ misskeyPackages; environment.NODE_ENV = "production"; + reloadTriggers = [ misskeyPackage misskeyConfigFile ]; serviceConfig = { User = "misskey"; WorkingDirectory = "/home/misskey/misskey";