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";